#[repr(transparent)]pub struct Translation(pub DVec3);Expand description
The translation group T(3): pure displacements.
Tuple Fields§
§0: DVec3Methods from Deref<Target = DVec3>§
pub const ZERO: DVec3
pub const ONE: DVec3
pub const NEG_ONE: DVec3
pub const MIN: DVec3
pub const MAX: DVec3
pub const NAN: DVec3
pub const INFINITY: DVec3
pub const NEG_INFINITY: DVec3
pub const X: DVec3
pub const Y: DVec3
pub const Z: DVec3
pub const NEG_X: DVec3
pub const NEG_Y: DVec3
pub const NEG_Z: DVec3
pub const AXES: [DVec3; 3]
pub const USES_CORE_SIMD: bool = false
pub const USES_NEON: bool = false
pub const USES_SCALAR_MATH: bool = true
pub const USES_SSE2: bool = false
pub const USES_WASM_SIMD: bool = false
pub const USES_WASM32_SIMD: bool = false
Trait Implementations§
Source§impl Clone for Translation
impl Clone for Translation
Source§fn clone(&self) -> Translation
fn clone(&self) -> Translation
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 Translation
Source§impl Debug for Translation
impl Debug for Translation
Source§impl Deref for Translation
impl Deref for Translation
Source§impl DerefMut for Translation
impl DerefMut for Translation
Source§impl From<DVec3> for Translation
impl From<DVec3> for Translation
Source§impl From<Translation> for DVec3
impl From<Translation> for DVec3
Source§fn from(t: Translation) -> Self
fn from(t: Translation) -> Self
Converts to this type from the input type.
Source§impl From<Translation> for Rigid
impl From<Translation> for Rigid
Source§fn from(t: Translation) -> Self
fn from(t: Translation) -> Self
Converts to this type from the input type.
Source§impl From<Translation> for Similarity
impl From<Translation> for Similarity
Source§fn from(t: Translation) -> Self
fn from(t: Translation) -> Self
Converts to this type from the input type.
Source§impl From<Translation> for DAffine3
impl From<Translation> for DAffine3
Source§fn from(t: Translation) -> Self
fn from(t: Translation) -> Self
Converts to this type from the input type.
Source§impl Interpolatable for Translation
impl Interpolatable for Translation
Source§impl PartialEq for Translation
impl PartialEq for Translation
impl StructuralPartialEq for Translation
Source§impl TransformGroup for Translation
impl TransformGroup for Translation
Auto Trait Implementations§
impl Freeze for Translation
impl RefUnwindSafe for Translation
impl Send for Translation
impl Sync for Translation
impl Unpin for Translation
impl UnsafeUnpin for Translation
impl UnwindSafe for Translation
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ConditionalSend for Twhere
T: Send,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> IntoResult<T> for T
impl<T> IntoResult<T> for T
§fn into_result(self) -> Result<T, RunSystemError>
fn into_result(self) -> Result<T, RunSystemError>
Converts this type into the system output type.
§impl<F, T> IntoSample<T> for Fwhere
T: FromSample<F>,
impl<F, T> IntoSample<T> for Fwhere
T: FromSample<F>,
fn into_sample(self) -> T
§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> TransformedExt for T
impl<T> TransformedExt for T
Source§fn transformed<G>(self, transform: G) -> Transformed<Self, G>
fn transformed<G>(self, transform: G) -> Transformed<Self, G>
Return
self wrapped with transform stored exactly as G.