pub struct AngleWrappedSigned<S>(/* private fields */);
Expand description
Signed wrapped angle restricted to $(-\pi, \pi]$
Implementations§
Source§impl<S: Real> AngleWrappedSigned<S>
impl<S: Real> AngleWrappedSigned<S>
Source§impl<S> AngleWrappedSigned<S>
impl<S> AngleWrappedSigned<S>
Trait Implementations§
Source§impl<S: Real> Add for AngleWrappedSigned<S>
impl<S: Real> Add for AngleWrappedSigned<S>
Source§impl<S: Real> AddAssign<Rad<S>> for AngleWrappedSigned<S>
impl<S: Real> AddAssign<Rad<S>> for AngleWrappedSigned<S>
Source§fn add_assign(&mut self, angle: Rad<S>)
fn add_assign(&mut self, angle: Rad<S>)
Performs the
+=
operation. Read moreSource§impl<S: Real> AddAssign for AngleWrappedSigned<S>
impl<S: Real> AddAssign for AngleWrappedSigned<S>
Source§fn add_assign(&mut self, other: Self)
fn add_assign(&mut self, other: Self)
Performs the
+=
operation. Read moreSource§impl<S: Clone> Clone for AngleWrappedSigned<S>
impl<S: Clone> Clone for AngleWrappedSigned<S>
Source§fn clone(&self) -> AngleWrappedSigned<S>
fn clone(&self) -> AngleWrappedSigned<S>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<S: Debug> Debug for AngleWrappedSigned<S>
impl<S: Debug> Debug for AngleWrappedSigned<S>
Source§impl<S: Default> Default for AngleWrappedSigned<S>
impl<S: Default> Default for AngleWrappedSigned<S>
Source§fn default() -> AngleWrappedSigned<S>
fn default() -> AngleWrappedSigned<S>
Returns the “default value” for a type. Read more
Source§impl<S: Real> Div<S> for AngleWrappedSigned<S>
impl<S: Real> Div<S> for AngleWrappedSigned<S>
Source§impl<S: Real> Div for AngleWrappedSigned<S>
impl<S: Real> Div for AngleWrappedSigned<S>
Source§impl<S: Real> DivAssign<S> for AngleWrappedSigned<S>
impl<S: Real> DivAssign<S> for AngleWrappedSigned<S>
Source§fn div_assign(&mut self, scalar: S)
fn div_assign(&mut self, scalar: S)
Performs the
/=
operation. Read moreSource§impl<S: Real> Mul<S> for AngleWrappedSigned<S>
impl<S: Real> Mul<S> for AngleWrappedSigned<S>
Source§impl<S: Real> MulAssign<S> for AngleWrappedSigned<S>
impl<S: Real> MulAssign<S> for AngleWrappedSigned<S>
Source§fn mul_assign(&mut self, scalar: S)
fn mul_assign(&mut self, scalar: S)
Performs the
*=
operation. Read moreSource§impl<S: Real> Neg for AngleWrappedSigned<S>
impl<S: Real> Neg for AngleWrappedSigned<S>
Source§impl<S: PartialEq> PartialEq for AngleWrappedSigned<S>
impl<S: PartialEq> PartialEq for AngleWrappedSigned<S>
Source§impl<S: PartialOrd> PartialOrd for AngleWrappedSigned<S>
impl<S: PartialOrd> PartialOrd for AngleWrappedSigned<S>
Source§impl<S: Real> Rem for AngleWrappedSigned<S>
impl<S: Real> Rem for AngleWrappedSigned<S>
Source§impl<S: Real> Sub for AngleWrappedSigned<S>
impl<S: Real> Sub for AngleWrappedSigned<S>
Source§impl<S: Real> SubAssign<Rad<S>> for AngleWrappedSigned<S>
impl<S: Real> SubAssign<Rad<S>> for AngleWrappedSigned<S>
Source§fn sub_assign(&mut self, angle: Rad<S>)
fn sub_assign(&mut self, angle: Rad<S>)
Performs the
-=
operation. Read moreSource§impl<S: Real> SubAssign for AngleWrappedSigned<S>
impl<S: Real> SubAssign for AngleWrappedSigned<S>
Source§fn sub_assign(&mut self, other: Self)
fn sub_assign(&mut self, other: Self)
Performs the
-=
operation. Read moreSource§impl<S: Real> Zero for AngleWrappedSigned<S>
impl<S: Real> Zero for AngleWrappedSigned<S>
impl<S: Real> AdditiveGroup for AngleWrappedSigned<S>
impl<S: Real> AdditiveMonoid for AngleWrappedSigned<S>
impl<S: Copy> Copy for AngleWrappedSigned<S>
impl<S> StructuralPartialEq for AngleWrappedSigned<S>
Auto Trait Implementations§
impl<S> Freeze for AngleWrappedSigned<S>where
S: Freeze,
impl<S> RefUnwindSafe for AngleWrappedSigned<S>where
S: RefUnwindSafe,
impl<S> Send for AngleWrappedSigned<S>where
S: Send,
impl<S> Sync for AngleWrappedSigned<S>where
S: Sync,
impl<S> Unpin for AngleWrappedSigned<S>where
S: Unpin,
impl<S> UnwindSafe for AngleWrappedSigned<S>where
S: 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
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> 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.