pub enum MatrixDim {
D22,
D23,
D24,
D32,
D33,
D34,
D42,
D43,
D44,
}
Expand description
Matrix dimension.
Matrices can have several dimensions. Most of the time, you will be interested in squared dimensions, e.g. 2×2, 3×3 and 4×4. However, other dimensions exist.
Note: matrices are expressed in column-major.
Variants
D22
Squared 2 dimension.
D23
2×3 dimension.
D24
2×4 dimension.
D32
3×2 dimension.
D33
Squared 3 dimension.
D34
3×4 dimension.
D42
4×2 dimension.
D43
4×3 dimension.
D44
Squared 4 dimension.
Trait Implementations
impl Eq for MatrixDim
impl StructuralEq for MatrixDim
impl StructuralPartialEq for MatrixDim
Auto Trait Implementations
impl RefUnwindSafe for MatrixDim
impl Send for MatrixDim
impl Sync for MatrixDim
impl Unpin for MatrixDim
impl UnwindSafe for MatrixDim
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more