pub struct Radian;Expand description
Radian.
Trait Implementations§
Source§impl PartialOrd for Radian
impl PartialOrd for Radian
impl Copy for Radian
impl StructuralPartialEq for Radian
Auto Trait Implementations§
impl Freeze for Radian
impl RefUnwindSafe for Radian
impl Send for Radian
impl Sync for Radian
impl Unpin for Radian
impl UnwindSafe for Radian
Blanket Implementations§
Source§impl<T> AngularUnit for T
impl<T> AngularUnit for T
Source§const FULL_TURN: f64 = const FULL_TURN: f64 = Radians::new(TAU).to::<T>().value();
const FULL_TURN: f64 = const FULL_TURN: f64 = Radians::new(TAU).to::<T>().value();
One full revolution (360°) expressed in T unit.
Source§const HALF_TURN: f64 = const HALF_TURN: f64 = Radians::new(TAU).to::<T>().value() * 0.5;
const HALF_TURN: f64 = const HALF_TURN: f64 = Radians::new(TAU).to::<T>().value() * 0.5;
Half a revolution (180°) expressed in T unit.
Source§const QUARTED_TURN: f64 = const QUARTED_TURN: f64 = Radians::new(TAU).to::<T>().value() * 0.25;
const QUARTED_TURN: f64 = const QUARTED_TURN: f64 = Radians::new(TAU).to::<T>().value() * 0.25;
Quarter revolution (90°) expressed in T unit.
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