#[repr(transparent)]pub struct Evt(pub u32);
Expand description
Enable or disable event routing
Tuple Fields§
§0: u32
Implementations§
Source§impl Evt
impl Evt
Sourcepub fn set_ovrflw(&mut self, val: bool)
pub fn set_ovrflw(&mut self, val: bool)
Enable or disable event routing for event OVRFLW
Sourcepub const fn compare(&self, n: usize) -> bool
pub const fn compare(&self, n: usize) -> bool
Enable or disable event routing for event COMPARE[0]
Sourcepub fn set_compare(&mut self, n: usize, val: bool)
pub fn set_compare(&mut self, n: usize, val: bool)
Enable or disable event routing for event COMPARE[0]
Trait Implementations§
impl Copy for Evt
impl Eq for Evt
impl StructuralPartialEq for Evt
Auto Trait Implementations§
impl Freeze for Evt
impl RefUnwindSafe for Evt
impl Send for Evt
impl Sync for Evt
impl Unpin for Evt
impl UnwindSafe for Evt
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)