pub struct Degrees(pub f32);
Expand description
Convenience type: you can define an angle in Degrees and it is convertible to Radians (and vice versa)
Tuple Fields§
§0: f32
Implementations§
Trait Implementations§
impl Copy for Degrees
Auto Trait Implementations§
impl Freeze for Degrees
impl RefUnwindSafe for Degrees
impl Send for Degrees
impl Sync for Degrees
impl Unpin for Degrees
impl UnwindSafe for Degrees
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