Struct MatchConfig
#[repr(transparent)]pub struct MatchConfig(pub u32);Expand description
Configure individual match events.
Tuple Fields§
§0: u32Implementations§
§impl MatchConfig
impl MatchConfig
pub const fn set_enable_0(&mut self, val: bool)
pub const fn set_enable_0(&mut self, val: bool)
Enable match filter 0.
pub const fn set_enable_1(&mut self, val: bool)
pub const fn set_enable_1(&mut self, val: bool)
Enable match filter 1.
pub const fn set_enable_2(&mut self, val: bool)
pub const fn set_enable_2(&mut self, val: bool)
Enable match filter 2.
pub const fn set_enable_3(&mut self, val: bool)
pub const fn set_enable_3(&mut self, val: bool)
Enable match filter 3.
pub const fn set_oneshot_0(&mut self, val: Oneshot0)
pub const fn set_oneshot_0(&mut self, val: Oneshot0)
Configure match filter 0 as one-shot or sticky.
pub const fn set_oneshot_1(&mut self, val: Oneshot1)
pub const fn set_oneshot_1(&mut self, val: Oneshot1)
Configure match filter 1 as one-shot or sticky.
pub const fn set_oneshot_2(&mut self, val: Oneshot2)
pub const fn set_oneshot_2(&mut self, val: Oneshot2)
Configure match filter 2 as one-shot or sticky.
pub const fn set_oneshot_3(&mut self, val: Oneshot3)
pub const fn set_oneshot_3(&mut self, val: Oneshot3)
Configure match filter 3 as one-shot or sticky.
Trait Implementations§
§impl Clone for MatchConfig
impl Clone for MatchConfig
§fn clone(&self) -> MatchConfig
fn clone(&self) -> MatchConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MatchConfig
§impl Debug for MatchConfig
impl Debug for MatchConfig
§impl Default for MatchConfig
impl Default for MatchConfig
§fn default() -> MatchConfig
fn default() -> MatchConfig
Returns the “default value” for a type. Read more
impl Eq for MatchConfig
§impl PartialEq for MatchConfig
impl PartialEq 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 UnsafeUnpin 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