pub struct Events {
pub low_limit: bool,
pub high_limit: bool,
pub threshold0: bool,
pub threshold1: bool,
pub zero: bool,
}
Available on crate feature
unstable
only.Expand description
Events that can occur in a pulse counter unit.
Fields§
§low_limit: bool
Set when the pulse counter reaches the low limit.
high_limit: bool
Set when the pulse counter reaches the high limit.
threshold0: bool
Set when the pulse counter crosses threshold 0.
threshold1: bool
Set when the pulse counter crosses threshold 1.
zero: bool
Set when the pulse counter reaches zero.
Trait Implementations§
impl Copy for Events
Auto Trait Implementations§
impl Freeze for Events
impl RefUnwindSafe for Events
impl Send for Events
impl Sync for Events
impl Unpin for Events
impl UnwindSafe for Events
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
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dst: *mut u8)
unsafe fn clone_to_uninit(&self, dst: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)