#[repr(transparent)]pub struct Angle<F: Float, U: Unit<F>>(_, _);
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<Angle<F, U>> for Angle<F, U>
impl<F: Float, U: Unit<F>> PartialOrd<Angle<F, U>> for Angle<F, U>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§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 more