pub enum MatrixLayoutExpand {
RowMajor,
ColMajor,
}Variants§
Trait Implementations§
Source§impl Clone for MatrixLayoutExpand
impl Clone for MatrixLayoutExpand
Source§impl CubeDebug for MatrixLayoutExpand
impl CubeDebug for MatrixLayoutExpand
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 CubeEnum for MatrixLayoutExpand
impl CubeEnum for MatrixLayoutExpand
type RuntimeValue = ()
fn discriminant(&self) -> NativeExpand<i32>
Source§fn runtime_value(self) -> Self::RuntimeValue
fn runtime_value(self) -> Self::RuntimeValue
Return the runtime value of this enum, if only one variant has a value.
Should return () for all other cases.
fn discriminant_of(variant_name: &'static str) -> i32
fn discriminant_of_value(&self, variant_name: &'static str) -> i32
Auto Trait Implementations§
impl Freeze for MatrixLayoutExpand
impl RefUnwindSafe for MatrixLayoutExpand
impl Send for MatrixLayoutExpand
impl Sync for MatrixLayoutExpand
impl Unpin for MatrixLayoutExpand
impl UnsafeUnpin for MatrixLayoutExpand
impl UnwindSafe for MatrixLayoutExpand
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