pub enum MatrixLayout {
ColMajor,
RowMajor,
Undefined,
}
Variants§
Trait Implementations§
Source§impl Clone for MatrixLayout
impl Clone for MatrixLayout
Source§fn clone(&self) -> MatrixLayout
fn clone(&self) -> MatrixLayout
Returns a copy 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 CubeDebug for MatrixLayout
impl CubeDebug for MatrixLayout
Source§fn set_debug_name(&self, scope: &mut Scope, name: &'static str)
fn set_debug_name(&self, scope: &mut Scope, name: &'static str)
Set the debug name of this type’s expansion. Should do nothing for types that don’t appear
at runtime
Source§impl CubeType for MatrixLayout
impl CubeType for MatrixLayout
type ExpandType = MatrixLayout
Source§fn init(scope: &mut Scope, expand: Self::ExpandType) -> Self::ExpandType
fn init(scope: &mut Scope, expand: Self::ExpandType) -> Self::ExpandType
Wrapper around the init method, necessary to type inference.
Source§impl Debug for MatrixLayout
impl Debug for MatrixLayout
Source§impl<'de> Deserialize<'de> for MatrixLayout
impl<'de> Deserialize<'de> for MatrixLayout
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<MatrixLayout, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<MatrixLayout, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for MatrixLayout
impl Hash for MatrixLayout
Source§impl Init for MatrixLayout
impl Init for MatrixLayout
Source§impl Ord for MatrixLayout
impl Ord for MatrixLayout
Source§fn cmp(&self, other: &MatrixLayout) -> Ordering
fn cmp(&self, other: &MatrixLayout) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for MatrixLayout
impl PartialEq for MatrixLayout
Source§impl PartialOrd for MatrixLayout
impl PartialOrd for MatrixLayout
Source§impl Serialize for MatrixLayout
impl Serialize for MatrixLayout
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Source§impl TypeHash for MatrixLayout
impl TypeHash for MatrixLayout
impl Copy for MatrixLayout
impl Eq for MatrixLayout
impl StructuralPartialEq for MatrixLayout
Auto Trait Implementations§
impl Freeze for MatrixLayout
impl RefUnwindSafe for MatrixLayout
impl Send for MatrixLayout
impl Sync for MatrixLayout
impl Unpin for MatrixLayout
impl UnwindSafe for MatrixLayout
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