pub struct Radians(/* private fields */);Expand description
An angle in radians. Trigonometry is only defined on this type, so a value
in degrees cannot reach cos/sin without an explicit conversion.
Implementations§
Trait Implementations§
impl Copy for Radians
Source§impl PartialOrd for Radians
impl PartialOrd for Radians
impl StructuralPartialEq for Radians
Auto Trait Implementations§
impl Freeze for Radians
impl RefUnwindSafe for Radians
impl Send for Radians
impl Sync for Radians
impl Unpin for Radians
impl UnsafeUnpin for Radians
impl UnwindSafe for Radians
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