pub enum Majorness {
Row,
Column,
}Expand description
Whether consecutive lines of a matrix are its rows or its columns.
Variants§
Row
Each row is a line (HLSL row_major, GLSL row_major).
Column
Each column is a line (HLSL’s default column_major, GLSL’s default).
Trait Implementations§
impl Copy for Majorness
impl Eq for Majorness
Source§impl Ord for Majorness
impl Ord for Majorness
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for Majorness
impl PartialOrd for Majorness
Source§impl Serialize for Majorness
impl Serialize for Majorness
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
impl StructuralPartialEq for Majorness
Auto Trait Implementations§
impl Forget for Majorness
impl Freeze for Majorness
impl RefUnwindSafe for Majorness
impl Send for Majorness
impl Sync for Majorness
impl Unpin for Majorness
impl UnsafeUnpin for Majorness
impl UnwindSafe for Majorness
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