pub struct MovementInterrupts {
pub x_high: bool,
pub x_low: bool,
pub y_high: bool,
pub y_low: bool,
pub z_high: bool,
pub z_low: bool,
}Expand description
Movement interrupts
Fields§
§x_high: boolX-axis acceleration higher than threshold value
x_low: boolX-axis acceleration lower than threshold value
y_high: boolY-axis acceleration higher than threshold value
y_low: boolY-axis acceleration lower than threshold value
z_high: boolZ-axis acceleration higher than threshold value
z_low: boolZ-axis acceleration lower than threshold value
Trait Implementations§
Source§impl Clone for MovementInterrupts
impl Clone for MovementInterrupts
Source§fn clone(&self) -> MovementInterrupts
fn clone(&self) -> MovementInterrupts
Returns a duplicate 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 Default for MovementInterrupts
impl Default for MovementInterrupts
Source§fn default() -> MovementInterrupts
fn default() -> MovementInterrupts
Returns the “default value” for a type. Read more
impl Copy for MovementInterrupts
Auto Trait Implementations§
impl Freeze for MovementInterrupts
impl RefUnwindSafe for MovementInterrupts
impl Send for MovementInterrupts
impl Sync for MovementInterrupts
impl Unpin for MovementInterrupts
impl UnwindSafe for MovementInterrupts
Blanket Implementations§
§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
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)