Struct lis3dh_async::InterruptSource
source · pub struct InterruptSource {
pub interrupt_active: bool,
pub z_axis_high: bool,
pub z_axis_low: bool,
pub y_axis_high: bool,
pub y_axis_low: bool,
pub x_axis_high: bool,
pub x_axis_low: bool,
}
Fields
interrupt_active: bool
z_axis_high: bool
z_axis_low: bool
y_axis_high: bool
y_axis_low: bool
x_axis_high: bool
x_axis_low: bool
Implementations
Trait Implementations
sourceimpl Clone for InterruptSource
impl Clone for InterruptSource
sourcefn clone(&self) -> InterruptSource
fn clone(&self) -> InterruptSource
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for InterruptSource
impl Debug for InterruptSource
sourceimpl Default for InterruptSource
impl Default for InterruptSource
sourcefn default() -> InterruptSource
fn default() -> InterruptSource
Returns the “default value” for a type. Read more
impl Copy for InterruptSource
Auto Trait Implementations
impl RefUnwindSafe for InterruptSource
impl Send for InterruptSource
impl Sync for InterruptSource
impl Unpin for InterruptSource
impl UnwindSafe for InterruptSource
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more