pub enum LinearKind {
Similarity {
scale: f64,
reflected: bool,
},
General,
Singular,
}Expand description
Classification of the linear part of a transform.
Variants§
Similarity
Rotation + uniform scale s (reflected when the determinant is negative).
General
Anything else (non-uniform scale or shear).
Singular
Determinant is (near) zero.
Trait Implementations§
Source§impl Clone for LinearKind
impl Clone for LinearKind
Source§fn clone(&self) -> LinearKind
fn clone(&self) -> LinearKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LinearKind
Source§impl Debug for LinearKind
impl Debug for LinearKind
Source§impl PartialEq for LinearKind
impl PartialEq for LinearKind
Source§fn eq(&self, other: &LinearKind) -> bool
fn eq(&self, other: &LinearKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LinearKind
Auto Trait Implementations§
impl Freeze for LinearKind
impl RefUnwindSafe for LinearKind
impl Send for LinearKind
impl Sync for LinearKind
impl Unpin for LinearKind
impl UnsafeUnpin for LinearKind
impl UnwindSafe for LinearKind
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