pub struct Angle(pub f64);Expand description
Angle type, in degrees by default
Tuple Fields§
§0: f64Implementations§
Source§impl Angle
impl Angle
Sourcepub fn set_degrees(&mut self, value: f64)
pub fn set_degrees(&mut self, value: f64)
Set the value with a value in degrees
Sourcepub fn set_radian(&mut self, value: f64)
pub fn set_radian(&mut self, value: f64)
Set the value with a value in radian
Trait Implementations§
impl Copy for Angle
Auto Trait Implementations§
impl Freeze for Angle
impl RefUnwindSafe for Angle
impl Send for Angle
impl Sync for Angle
impl Unpin for Angle
impl UnwindSafe for Angle
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