#[repr(C)]pub struct GyroscopeBias<T> {
pub omega_x: T,
pub omega_y: T,
pub omega_z: T,
}Fields§
§omega_x: TThe angular rate around the x-axis, in radians per second.
omega_y: TThe angular rate around the y-axis, in radians per second.
omega_z: TThe angular rate around the z-axis, in radians per second.
Implementations§
Source§impl<T> GyroscopeBias<T>
impl<T> GyroscopeBias<T>
Source§impl<T> GyroscopeBias<T>
impl<T> GyroscopeBias<T>
Sourcepub const fn new(omega_x: T, omega_y: T, omega_z: T) -> Self
pub const fn new(omega_x: T, omega_y: T, omega_z: T) -> Self
Initializes a new GyroscopeBias instance.
Trait Implementations§
Source§impl<T> Clone for GyroscopeBias<T>where
T: Clone,
impl<T> Clone for GyroscopeBias<T>where
T: Clone,
Source§impl<T> Debug for GyroscopeBias<T>where
T: Debug,
impl<T> Debug for GyroscopeBias<T>where
T: Debug,
Source§impl<T> Default for GyroscopeBias<T>where
T: Default,
impl<T> Default for GyroscopeBias<T>where
T: Default,
Source§impl<T> Index<usize> for GyroscopeBias<T>
impl<T> Index<usize> for GyroscopeBias<T>
Source§impl<T> IndexMut<usize> for GyroscopeBias<T>
impl<T> IndexMut<usize> for GyroscopeBias<T>
Source§impl<T> Mul<T> for GyroscopeBias<T>
impl<T> Mul<T> for GyroscopeBias<T>
Source§impl<T> Sub<T> for GyroscopeBias<T>
impl<T> Sub<T> for GyroscopeBias<T>
impl<T> Copy for GyroscopeBias<T>where
T: Copy,
Auto Trait Implementations§
impl<T> Freeze for GyroscopeBias<T>where
T: Freeze,
impl<T> RefUnwindSafe for GyroscopeBias<T>where
T: RefUnwindSafe,
impl<T> Send for GyroscopeBias<T>where
T: Send,
impl<T> Sync for GyroscopeBias<T>where
T: Sync,
impl<T> Unpin for GyroscopeBias<T>where
T: Unpin,
impl<T> UnwindSafe for GyroscopeBias<T>where
T: UnwindSafe,
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,
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.