enum CooperativeType {
Matrix {
columns: CooperativeSize,
rows: CooperativeSize,
scalar: Scalar,
role: CooperativeRole,
},
}Expand description
A cooperative type, for use in LocalType.
Variants§
Matrix
Implementations§
Source§impl CooperativeType
impl CooperativeType
const fn from_inner(inner: &TypeInner) -> Option<Self>
Trait Implementations§
Source§impl Clone for CooperativeType
impl Clone for CooperativeType
Source§fn clone(&self) -> CooperativeType
fn clone(&self) -> CooperativeType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CooperativeType
impl Debug for CooperativeType
Source§impl Hash for CooperativeType
impl Hash for CooperativeType
Source§impl PartialEq for CooperativeType
impl PartialEq for CooperativeType
impl Copy for CooperativeType
impl Eq for CooperativeType
impl StructuralPartialEq for CooperativeType
Auto Trait Implementations§
impl Freeze for CooperativeType
impl RefUnwindSafe for CooperativeType
impl Send for CooperativeType
impl Sync for CooperativeType
impl Unpin for CooperativeType
impl UnwindSafe for CooperativeType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more