pub struct Angle { /* private fields */ }
Expand description
An angle
Implementations
sourceimpl Angle
impl Angle
sourcepub fn from_rev(rev: f64) -> Self
pub fn from_rev(rev: f64) -> Self
Create a new angle specified in revolutions
sourcepub fn rev(&self) -> f64
pub fn rev(&self) -> f64
Retrieve value of angle as revolutions
Trait Implementations
sourceimpl AddAssign<Angle> for Angle
impl AddAssign<Angle> for Angle
sourcefn add_assign(&mut self, rhs: Self)
fn add_assign(&mut self, rhs: Self)
Performs the +=
operation. Read more
sourceimpl DivAssign<f64> for Angle
impl DivAssign<f64> for Angle
sourcefn div_assign(&mut self, rhs: f64)
fn div_assign(&mut self, rhs: f64)
Performs the /=
operation. Read more
sourceimpl MulAssign<f64> for Angle
impl MulAssign<f64> for Angle
sourcefn mul_assign(&mut self, rhs: f64)
fn mul_assign(&mut self, rhs: f64)
Performs the *=
operation. Read more
sourceimpl PartialEq<Angle> for Angle
impl PartialEq<Angle> for Angle
sourceimpl SubAssign<Angle> for Angle
impl SubAssign<Angle> for Angle
sourcefn sub_assign(&mut self, rhs: Self)
fn sub_assign(&mut self, rhs: Self)
Performs the -=
operation. Read more
impl Copy for Angle
impl StructuralPartialEq for Angle
Auto Trait Implementations
impl RefUnwindSafe for Angle
impl Send for Angle
impl Sync for Angle
impl Unpin for Angle
impl UnwindSafe for Angle
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more