Enum shades::MatrixDim [−][src]
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
Squared 2 dimension.
2×3 dimension.
2×4 dimension.
3×2 dimension.
Squared 3 dimension.
3×4 dimension.
4×2 dimension.
4×3 dimension.
Squared 4 dimension.
Trait Implementations
impl Clone for MatrixDim
[src]
impl Debug for MatrixDim
[src]
impl Eq for MatrixDim
[src]
impl Hash for MatrixDim
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<MatrixDim> for MatrixDim
[src]
fn eq(&self, other: &MatrixDim) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for MatrixDim
[src]
impl StructuralPartialEq for MatrixDim
[src]
Auto Trait Implementations
impl RefUnwindSafe for MatrixDim
[src]
impl Send for MatrixDim
[src]
impl Sync for MatrixDim
[src]
impl Unpin for MatrixDim
[src]
impl UnwindSafe for MatrixDim
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,