pub struct Degrees(pub f32);Expand description
Angular position in degrees.
Used for configuration and user-facing API. Internally converted to Steps.
Tuple Fields§
§0: f32Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Degrees
impl<'de> Deserialize<'de> for Degrees
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialOrd for Degrees
impl PartialOrd for Degrees
impl Copy for Degrees
impl StructuralPartialEq 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