Struct Config
#[repr(transparent)]pub struct Config(pub u32);
Expand description
Configure individual match events
Tuple Fields§
§0: u32
Implementations§
§impl Config
impl Config
pub fn set_enable_0(&mut self, val: bool)
pub fn set_enable_0(&mut self, val: bool)
Enable match filter 0
pub fn set_enable_1(&mut self, val: bool)
pub fn set_enable_1(&mut self, val: bool)
Enable match filter 1
pub fn set_enable_2(&mut self, val: bool)
pub fn set_enable_2(&mut self, val: bool)
Enable match filter 2
pub fn set_enable_3(&mut self, val: bool)
pub fn set_enable_3(&mut self, val: bool)
Enable match filter 3
pub fn set_oneshot_0(&mut self, val: Oneshot0)
pub fn set_oneshot_0(&mut self, val: Oneshot0)
Configure match filter 0 as one-shot or sticky
pub fn set_oneshot_1(&mut self, val: Oneshot1)
pub fn set_oneshot_1(&mut self, val: Oneshot1)
Configure match filter 1 as one-shot or sticky
pub fn set_oneshot_2(&mut self, val: Oneshot2)
pub fn set_oneshot_2(&mut self, val: Oneshot2)
Configure match filter 2 as one-shot or sticky
pub fn set_oneshot_3(&mut self, val: Oneshot3)
pub fn set_oneshot_3(&mut self, val: Oneshot3)
Configure match filter 3 as one-shot or sticky
Trait Implementations§
impl Copy for Config
impl Eq for Config
impl StructuralPartialEq for Config
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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
)