pub struct Angle<F: Float, U: Unit<F>>(/* private fields */);Expand description
An angle backed by a floating-point number.
Implementations§
Source§impl<F: Float, U: Unit<F>> Angle<F, U>
impl<F: Float, U: Unit<F>> Angle<F, U>
Trait Implementations§
Source§impl<F: Float, U: Unit<F>, Rhs: Into<Angle<F, U>>> AddAssign<Rhs> for Angle<F, U>
impl<F: Float, U: Unit<F>, Rhs: Into<Angle<F, U>>> AddAssign<Rhs> for Angle<F, U>
Source§fn add_assign(&mut self, rhs: Rhs)
fn add_assign(&mut self, rhs: Rhs)
Performs the
+= operation. Read moreSource§impl<F: Float, U: Unit<F>> DivAssign<F> for Angle<F, U>
impl<F: Float, U: Unit<F>> DivAssign<F> for Angle<F, U>
Source§fn div_assign(&mut self, rhs: F)
fn div_assign(&mut self, rhs: F)
Performs the
/= operation. Read moreSource§impl<F: Float, U: Unit<F>> MulAssign<F> for Angle<F, U>
impl<F: Float, U: Unit<F>> MulAssign<F> for Angle<F, U>
Source§fn mul_assign(&mut self, rhs: F)
fn mul_assign(&mut self, rhs: F)
Performs the
*= operation. Read moreSource§impl<F: Float, U: Unit<F>> Ord for Angle<F, U>
impl<F: Float, U: Unit<F>> Ord for Angle<F, U>
Source§impl<F: Float, U: Unit<F>> PartialOrd for Angle<F, U>
impl<F: Float, U: Unit<F>> PartialOrd for Angle<F, U>
Source§impl<F: Float, U: Unit<F>, Rhs: Into<Angle<F, U>>> SubAssign<Rhs> for Angle<F, U>
impl<F: Float, U: Unit<F>, Rhs: Into<Angle<F, U>>> SubAssign<Rhs> for Angle<F, U>
Source§fn sub_assign(&mut self, rhs: Rhs)
fn sub_assign(&mut self, rhs: Rhs)
Performs the
-= operation. Read moreimpl<F: Float, U: Unit<F>> Copy for Angle<F, U>
impl<F: Float, U: Unit<F>> Eq for Angle<F, U>
Auto Trait Implementations§
impl<F, U> Freeze for Angle<F, U>where
F: Freeze,
impl<F, U> RefUnwindSafe for Angle<F, U>where
F: RefUnwindSafe,
U: RefUnwindSafe,
impl<F, U> Send for Angle<F, U>
impl<F, U> Sync for Angle<F, U>
impl<F, U> Unpin for Angle<F, U>
impl<F, U> UnwindSafe for Angle<F, U>where
F: UnwindSafe,
U: 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