#[repr(transparent)]pub struct MatchConfig(pub u32);
Expand description
Configure individual match events
Tuple Fields§
§0: u32
Implementations§
Source§impl MatchConfig
impl MatchConfig
Sourcepub fn set_enable_0(&mut self, val: bool)
pub fn set_enable_0(&mut self, val: bool)
Enable match filter 0
Sourcepub fn set_enable_1(&mut self, val: bool)
pub fn set_enable_1(&mut self, val: bool)
Enable match filter 1
Sourcepub fn set_enable_2(&mut self, val: bool)
pub fn set_enable_2(&mut self, val: bool)
Enable match filter 2
Sourcepub fn set_enable_3(&mut self, val: bool)
pub fn set_enable_3(&mut self, val: bool)
Enable match filter 3
Sourcepub 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
Sourcepub 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
Sourcepub 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
Sourcepub 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§
Source§impl Clone for MatchConfig
impl Clone for MatchConfig
Source§fn clone(&self) -> MatchConfig
fn clone(&self) -> MatchConfig
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 Default for MatchConfig
impl Default for MatchConfig
Source§fn default() -> MatchConfig
fn default() -> MatchConfig
Returns the “default value” for a type. Read more
Source§impl PartialEq for MatchConfig
impl PartialEq for MatchConfig
impl Copy for MatchConfig
impl Eq for MatchConfig
impl StructuralPartialEq for MatchConfig
Auto Trait Implementations§
impl Freeze for MatchConfig
impl RefUnwindSafe for MatchConfig
impl Send for MatchConfig
impl Sync for MatchConfig
impl Unpin for MatchConfig
impl UnwindSafe for MatchConfig
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
)