pub struct Transform3<S, U, V>(pub Matrix3<S>, _)
where
S: Zero + One;Expand description
3D linear transformation between two coordinate systems tagged with units
Tuple Fields§
§0: Matrix3<S>Trait Implementations§
Source§impl<S, U, V> Add for Transform3<S, U, V>where
S: Ring,
impl<S, U, V> Add for Transform3<S, U, V>where
S: Ring,
Source§impl<S, U, V> AddAssign for Transform3<S, U, V>where
S: Ring,
impl<S, U, V> AddAssign for Transform3<S, U, V>where
S: Ring,
Source§fn add_assign(&mut self, rhs: Self)
fn add_assign(&mut self, rhs: Self)
Performs the
+= operation. Read moreSource§impl<S, U, V> Clone for Transform3<S, U, V>
impl<S, U, V> Clone for Transform3<S, U, V>
Source§impl<S, U: Default, V: Default> Default for Transform3<S, U, V>
impl<S, U: Default, V: Default> Default for Transform3<S, U, V>
Source§fn default() -> Transform3<S, U, V>
fn default() -> Transform3<S, U, V>
Returns the “default value” for a type. Read more
Source§impl<S, U, V> Display for Transform3<S, U, V>
impl<S, U, V> Display for Transform3<S, U, V>
Source§impl<S, U, V> FixedMatrix3<S> for Transform3<S, U, V>
impl<S, U, V> FixedMatrix3<S> for Transform3<S, U, V>
Source§impl<S, U, V> From<Mat3<S>> for Transform3<S, U, V>
impl<S, U, V> From<Mat3<S>> for Transform3<S, U, V>
Source§impl<S, U, V> From<Transform2<S, U, V>> for Transform3<S, U, V>where
S: Field,
impl<S, U, V> From<Transform2<S, U, V>> for Transform3<S, U, V>where
S: Field,
Source§fn from(transform: Transform2<S, U, V>) -> Self
fn from(transform: Transform2<S, U, V>) -> Self
Converts to this type from the input type.
Source§impl<S, U, V> From<Transform3<S, U, V>> for Transform4<S, U, V>where
S: Field,
impl<S, U, V> From<Transform3<S, U, V>> for Transform4<S, U, V>where
S: Field,
Source§fn from(transform: Transform3<S, U, V>) -> Self
fn from(transform: Transform3<S, U, V>) -> Self
Converts to this type from the input type.
Source§impl<S, U, V> LinearMap<S, Displacement3<S, U>, Displacement3<S, V>> for Transform3<S, U, V>where
S: Ring,
impl<S, U, V> LinearMap<S, Displacement3<S, U>, Displacement3<S, V>> for Transform3<S, U, V>where
S: Ring,
Source§impl<S, U, V> Mul<Displacement3<S, U>> for Transform3<S, U, V>where
S: Ring,
impl<S, U, V> Mul<Displacement3<S, U>> for Transform3<S, U, V>where
S: Ring,
Source§type Output = Displacement3<S, V>
type Output = Displacement3<S, V>
The resulting type after applying the
* operator.Source§fn mul(self, rhs: Displacement3<S, U>) -> Displacement3<S, V>
fn mul(self, rhs: Displacement3<S, U>) -> Displacement3<S, V>
Performs the
* operation. Read moreSource§impl<S, U, V> Mul for Transform3<S, U, V>where
S: Ring,
impl<S, U, V> Mul for Transform3<S, U, V>where
S: Ring,
Source§impl<S, U, V> MulAdd for Transform3<S, U, V>where
S: Ring,
impl<S, U, V> MulAdd for Transform3<S, U, V>where
S: Ring,
Source§impl<S, U, V> MulAddAssign for Transform3<S, U, V>where
S: Ring,
impl<S, U, V> MulAddAssign for Transform3<S, U, V>where
S: Ring,
Source§fn mul_add_assign(&mut self, a: Self, b: Self)
fn mul_add_assign(&mut self, a: Self, b: Self)
Performs the fused multiply-add assignment operation
*self = (*self * a) + bSource§impl<S, U, V> MulAssign for Transform3<S, U, V>where
S: Ring,
impl<S, U, V> MulAssign for Transform3<S, U, V>where
S: Ring,
Source§fn mul_assign(&mut self, rhs: Self)
fn mul_assign(&mut self, rhs: Self)
Performs the
*= operation. Read moreSource§impl<S, U, V> Neg for Transform3<S, U, V>where
S: Ring,
impl<S, U, V> Neg for Transform3<S, U, V>where
S: Ring,
Source§impl<S, U, V> One for Transform3<S, U, V>where
S: Ring,
impl<S, U, V> One for Transform3<S, U, V>where
S: Ring,
Source§impl<S, U, V> PartialEq for Transform3<S, U, V>
impl<S, U, V> PartialEq for Transform3<S, U, V>
Source§impl<S, U, V> Sub for Transform3<S, U, V>where
S: Ring,
impl<S, U, V> Sub for Transform3<S, U, V>where
S: Ring,
Source§impl<S, U, V> SubAssign for Transform3<S, U, V>where
S: Ring,
impl<S, U, V> SubAssign for Transform3<S, U, V>where
S: Ring,
Source§fn sub_assign(&mut self, rhs: Self)
fn sub_assign(&mut self, rhs: Self)
Performs the
-= operation. Read moreSource§impl<S, U, V> Sum for Transform3<S, U, V>where
S: Ring,
impl<S, U, V> Sum for Transform3<S, U, V>where
S: Ring,
Source§impl<S, U, V> Zero for Transform3<S, U, V>where
S: Ring,
impl<S, U, V> Zero for Transform3<S, U, V>where
S: Ring,
impl<S, U, V> Copy for Transform3<S, U, V>
impl<S, U: Eq, V: Eq> Eq for Transform3<S, U, V>
Auto Trait Implementations§
impl<S, U, V> Freeze for Transform3<S, U, V>where
S: Freeze,
impl<S, U, V> RefUnwindSafe for Transform3<S, U, V>
impl<S, U, V> Send for Transform3<S, U, V>
impl<S, U, V> Sync for Transform3<S, U, V>
impl<S, U, V> Unpin for Transform3<S, U, V>
impl<S, U, V> UnwindSafe for Transform3<S, U, V>
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> CheckedAs for T
impl<T> CheckedAs for T
Source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
Casts the value.
Source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
Source§fn checked_cast_from(src: Src) -> Option<Dst>
fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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 moreSource§impl<Src, Dst> LosslessTryInto<Dst> for Srcwhere
Dst: LosslessTryFrom<Src>,
impl<Src, Dst> LosslessTryInto<Dst> for Srcwhere
Dst: LosslessTryFrom<Src>,
Source§fn lossless_try_into(self) -> Option<Dst>
fn lossless_try_into(self) -> Option<Dst>
Performs the conversion.
Source§impl<Src, Dst> LossyInto<Dst> for Srcwhere
Dst: LossyFrom<Src>,
impl<Src, Dst> LossyInto<Dst> for Srcwhere
Dst: LossyFrom<Src>,
Source§fn lossy_into(self) -> Dst
fn lossy_into(self) -> Dst
Performs the conversion.
Source§impl<T> MultiplicativeMonoid for T
impl<T> MultiplicativeMonoid for T
Source§impl<T> OverflowingAs for T
impl<T> OverflowingAs for T
Source§fn overflowing_as<Dst>(self) -> (Dst, bool)where
T: OverflowingCast<Dst>,
fn overflowing_as<Dst>(self) -> (Dst, bool)where
T: OverflowingCast<Dst>,
Casts the value.
Source§impl<Src, Dst> OverflowingCastFrom<Src> for Dstwhere
Src: OverflowingCast<Dst>,
impl<Src, Dst> OverflowingCastFrom<Src> for Dstwhere
Src: OverflowingCast<Dst>,
Source§fn overflowing_cast_from(src: Src) -> (Dst, bool)
fn overflowing_cast_from(src: Src) -> (Dst, bool)
Casts the value.
Source§impl<T> SaturatingAs for T
impl<T> SaturatingAs for T
Source§fn saturating_as<Dst>(self) -> Dstwhere
T: SaturatingCast<Dst>,
fn saturating_as<Dst>(self) -> Dstwhere
T: SaturatingCast<Dst>,
Casts the value.
Source§impl<Src, Dst> SaturatingCastFrom<Src> for Dstwhere
Src: SaturatingCast<Dst>,
impl<Src, Dst> SaturatingCastFrom<Src> for Dstwhere
Src: SaturatingCast<Dst>,
Source§fn saturating_cast_from(src: Src) -> Dst
fn saturating_cast_from(src: Src) -> Dst
Casts the value.
Source§impl<T> UnwrappedAs for T
impl<T> UnwrappedAs for T
Source§fn unwrapped_as<Dst>(self) -> Dstwhere
T: UnwrappedCast<Dst>,
fn unwrapped_as<Dst>(self) -> Dstwhere
T: UnwrappedCast<Dst>,
Casts the value.
Source§impl<Src, Dst> UnwrappedCastFrom<Src> for Dstwhere
Src: UnwrappedCast<Dst>,
impl<Src, Dst> UnwrappedCastFrom<Src> for Dstwhere
Src: UnwrappedCast<Dst>,
Source§fn unwrapped_cast_from(src: Src) -> Dst
fn unwrapped_cast_from(src: Src) -> Dst
Casts the value.
Source§impl<T> WrappingAs for T
impl<T> WrappingAs for T
Source§fn wrapping_as<Dst>(self) -> Dstwhere
T: WrappingCast<Dst>,
fn wrapping_as<Dst>(self) -> Dstwhere
T: WrappingCast<Dst>,
Casts the value.
Source§impl<Src, Dst> WrappingCastFrom<Src> for Dstwhere
Src: WrappingCast<Dst>,
impl<Src, Dst> WrappingCastFrom<Src> for Dstwhere
Src: WrappingCast<Dst>,
Source§fn wrapping_cast_from(src: Src) -> Dst
fn wrapping_cast_from(src: Src) -> Dst
Casts the value.