#[repr(transparent)]pub struct Distortion(pub u64);
Tuple Fields§
§0: u64
Implementations§
Source§impl Distortion
impl Distortion
Trait Implementations§
Source§impl AddAssign for Distortion
impl AddAssign for Distortion
Source§fn add_assign(&mut self, other: Self)
fn add_assign(&mut self, other: Self)
Performs the
+=
operation. Read moreSource§impl Mul<DistortionScale> for Distortion
impl Mul<DistortionScale> for Distortion
Source§type Output = ScaledDistortion
type Output = ScaledDistortion
The resulting type after applying the
*
operator.Source§fn mul(self, rhs: DistortionScale) -> ScaledDistortion
fn mul(self, rhs: DistortionScale) -> ScaledDistortion
Performs the
*
operation. Read moreAuto Trait Implementations§
impl Freeze for Distortion
impl RefUnwindSafe for Distortion
impl Send for Distortion
impl Sync for Distortion
impl Unpin for Distortion
impl UnwindSafe for Distortion
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> 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