Struct themelios::types::AngularSpeed
source · #[repr(transparent)]pub struct AngularSpeed(pub u16);Tuple Fields§
§0: u16Trait Implementations§
source§impl Clone for AngularSpeed
impl Clone for AngularSpeed
source§fn clone(&self) -> AngularSpeed
fn clone(&self) -> AngularSpeed
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for AngularSpeed
impl Debug for AngularSpeed
source§impl From<u16> for AngularSpeed
impl From<u16> for AngularSpeed
source§fn from(v: u16) -> AngularSpeed
fn from(v: u16) -> AngularSpeed
Converts to this type from the input type.
source§impl Hash for AngularSpeed
impl Hash for AngularSpeed
source§impl Ord for AngularSpeed
impl Ord for AngularSpeed
source§fn cmp(&self, other: &AngularSpeed) -> Ordering
fn cmp(&self, other: &AngularSpeed) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<AngularSpeed> for AngularSpeed
impl PartialEq<AngularSpeed> for AngularSpeed
source§fn eq(&self, other: &AngularSpeed) -> bool
fn eq(&self, other: &AngularSpeed) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<AngularSpeed> for AngularSpeed
impl PartialOrd<AngularSpeed> for AngularSpeed
source§fn partial_cmp(&self, other: &AngularSpeed) -> Option<Ordering>
fn partial_cmp(&self, other: &AngularSpeed) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Copy for AngularSpeed
impl Eq for AngularSpeed
impl StructuralEq for AngularSpeed
impl StructuralPartialEq for AngularSpeed
Auto Trait Implementations§
impl RefUnwindSafe for AngularSpeed
impl Send for AngularSpeed
impl Sync for AngularSpeed
impl Unpin for AngularSpeed
impl UnwindSafe for AngularSpeed
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