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
impl StructuralPartialEq for Majorness
Auto Trait Implementations§
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