Struct veml7700::InterruptStatus
source · pub struct InterruptStatus {
pub was_too_low: bool,
pub was_too_high: bool,
}
Expand description
Interrupt status
Fields§
§was_too_low: bool
Whether the low threshold was exceeded consecutively as many times as configured as fault count.
was_too_high: bool
Whether the high threshold was exceeded consecutively as many times as configured as fault count.
Trait Implementations§
source§impl Clone for InterruptStatus
impl Clone for InterruptStatus
source§fn clone(&self) -> InterruptStatus
fn clone(&self) -> InterruptStatus
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 InterruptStatus
impl Debug for InterruptStatus
source§impl PartialEq for InterruptStatus
impl PartialEq for InterruptStatus
source§fn eq(&self, other: &InterruptStatus) -> bool
fn eq(&self, other: &InterruptStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for InterruptStatus
impl StructuralPartialEq for InterruptStatus
Auto Trait Implementations§
impl RefUnwindSafe for InterruptStatus
impl Send for InterruptStatus
impl Sync for InterruptStatus
impl Unpin for InterruptStatus
impl UnwindSafe for InterruptStatus
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