pub enum TransformKind {
Regular,
Degenerate,
Sheared,
Mirrored,
}Expand description
What a transform does besides rotating, scaling and translating.
Variants§
Regular
Rotation with any per-axis scale and a translation.
Degenerate
Some axis is (near) zero or the axes are (near) coplanar.
Sheared
Axes not orthogonal.
Mirrored
Negative determinant (and not sheared).
Trait Implementations§
Source§impl Clone for TransformKind
impl Clone for TransformKind
impl Copy for TransformKind
Source§impl Debug for TransformKind
impl Debug for TransformKind
impl Eq for TransformKind
Source§impl PartialEq for TransformKind
impl PartialEq for TransformKind
impl StructuralPartialEq for TransformKind
Auto Trait Implementations§
impl Forget for TransformKind
impl Freeze for TransformKind
impl RefUnwindSafe for TransformKind
impl Send for TransformKind
impl Sync for TransformKind
impl Unpin for TransformKind
impl UnsafeUnpin for TransformKind
impl UnwindSafe for TransformKind
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.