Struct ctru::services::hid::AngularRate
source · pub struct AngularRate { /* private fields */ }
Expand description
Representation of the angular rate read by the gyroscope.
Have a look at Hid::set_gyroscope()
for more information.
Trait Implementations§
source§impl Clone for AngularRate
impl Clone for AngularRate
source§fn clone(&self) -> AngularRate
fn clone(&self) -> AngularRate
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AngularRate
impl Debug for AngularRate
source§impl Default for AngularRate
impl Default for AngularRate
source§fn default() -> AngularRate
fn default() -> AngularRate
Returns the “default value” for a type. Read more
source§impl From<AngularRate> for (i16, i16, i16)
impl From<AngularRate> for (i16, i16, i16)
source§fn from(value: AngularRate) -> (i16, i16, i16)
fn from(value: AngularRate) -> (i16, i16, i16)
Converts to this type from the input type.
source§impl PartialEq for AngularRate
impl PartialEq for AngularRate
impl Copy for AngularRate
impl Eq for AngularRate
impl StructuralPartialEq for AngularRate
Auto Trait Implementations§
impl RefUnwindSafe for AngularRate
impl Send for AngularRate
impl Sync for AngularRate
impl Unpin for AngularRate
impl UnwindSafe for AngularRate
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more