pub struct RadiansPerSecond(/* private fields */);Expand description
A scalar angular rate, such as a gyroscope tolerance or a gyroscope bias standard deviation.
Implementations§
Source§impl RadiansPerSecond
impl RadiansPerSecond
Sourcepub const fn from_rad_per_s(value: f32) -> Self
pub const fn from_rad_per_s(value: f32) -> Self
Construct from a value in radians per second.
Sourcepub const fn as_rad_per_s(self) -> f32
pub const fn as_rad_per_s(self) -> f32
The value in radians per second.
Trait Implementations§
Source§impl Clone for RadiansPerSecond
impl Clone for RadiansPerSecond
impl Copy for RadiansPerSecond
Source§impl Debug for RadiansPerSecond
impl Debug for RadiansPerSecond
Source§impl Default for RadiansPerSecond
impl Default for RadiansPerSecond
Source§impl Format for RadiansPerSecond
Available on crate feature defmt only.
impl Format for RadiansPerSecond
Available on crate feature
defmt only.Source§impl PartialEq for RadiansPerSecond
impl PartialEq for RadiansPerSecond
Source§impl PartialOrd for RadiansPerSecond
impl PartialOrd for RadiansPerSecond
impl StructuralPartialEq for RadiansPerSecond
Auto Trait Implementations§
impl Freeze for RadiansPerSecond
impl RefUnwindSafe for RadiansPerSecond
impl Send for RadiansPerSecond
impl Sync for RadiansPerSecond
impl Unpin for RadiansPerSecond
impl UnsafeUnpin for RadiansPerSecond
impl UnwindSafe for RadiansPerSecond
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> Scalar for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.