Struct lis3dh::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§
source§impl Clone for InterruptSource
impl Clone for InterruptSource
source§fn clone(&self) -> InterruptSource
fn clone(&self) -> InterruptSource
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for InterruptSource
impl Debug for InterruptSource
source§impl Default for InterruptSource
impl Default for InterruptSource
source§fn default() -> InterruptSource
fn default() -> InterruptSource
Returns the “default value” for a type. Read more
impl Copy for InterruptSource
Auto Trait Implementations§
impl Freeze for InterruptSource
impl RefUnwindSafe for InterruptSource
impl Send for InterruptSource
impl Sync for InterruptSource
impl Unpin for InterruptSource
impl UnwindSafe for InterruptSource
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