pub struct Degree;Expand description
Degree.
Trait Implementations§
Source§impl PartialOrd for Degree
impl PartialOrd for Degree
impl Copy for Degree
impl StructuralPartialEq for Degree
Auto Trait Implementations§
impl Freeze for Degree
impl RefUnwindSafe for Degree
impl Send for Degree
impl Sync for Degree
impl Unpin for Degree
impl UnwindSafe for Degree
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