pub struct Scale<T> { /* private fields */ }Expand description
Scale transformation.
Implementations§
Trait Implementations§
Source§impl<T> AbsDiffEq for Scale<T>
Available on crate feature approx only.
impl<T> AbsDiffEq for Scale<T>
Available on crate feature
approx only.Source§fn default_epsilon() -> Self::Epsilon
fn default_epsilon() -> Self::Epsilon
The default tolerance to use when testing values that are close together. Read more
Source§fn abs_diff_eq(&self, other: &Self, epsilon: Self::Epsilon) -> bool
fn abs_diff_eq(&self, other: &Self, epsilon: Self::Epsilon) -> bool
A test for equality that uses the absolute difference to compute the approximate
equality of two numbers.
Source§fn abs_diff_ne(&self, other: &Rhs, epsilon: Self::Epsilon) -> bool
fn abs_diff_ne(&self, other: &Rhs, epsilon: Self::Epsilon) -> bool
The inverse of
AbsDiffEq::abs_diff_eq.impl<T: Copy> Copy for Scale<T>
Source§impl<T, const N: usize> Directional<Vector<T, N>> for Scale<T>
impl<T, const N: usize> Directional<Vector<T, N>> for Scale<T>
Source§impl<T> Distribution<Scale<T>> for Normalwhere
Normal: Distribution<T>,
Available on crate feature rand only.
impl<T> Distribution<Scale<T>> for Normalwhere
Normal: Distribution<T>,
Available on crate feature
rand only.impl<T: PartialEq> StructuralPartialEq for Scale<T>
Auto Trait Implementations§
impl<T> Freeze for Scale<T>where
T: Freeze,
impl<T> RefUnwindSafe for Scale<T>where
T: RefUnwindSafe,
impl<T> Send for Scale<T>where
T: Send,
impl<T> Sync for Scale<T>where
T: Sync,
impl<T> Unpin for Scale<T>where
T: Unpin,
impl<T> UnsafeUnpin for Scale<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for Scale<T>where
T: UnwindSafe,
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