Enum MatchMode
#[repr(u8)]pub enum MatchMode {
MATCHAND = 0,
MATCHOR = 1,
}
Variants§
MATCHAND = 0
AND-match mode, SMF is set if all the unmasked bits received from the device match the corresponding bits in the match register.
MATCHOR = 1
OR-match mode, SMF is set if any of the unmasked bits received from the device matches its corresponding bit in the match register.
Implementations§
Trait Implementations§
§impl Ord for MatchMode
impl Ord for MatchMode
§impl PartialOrd for MatchMode
impl PartialOrd for MatchMode
impl Copy for MatchMode
impl Eq for MatchMode
impl StructuralPartialEq for MatchMode
Auto Trait Implementations§
impl Freeze for MatchMode
impl RefUnwindSafe for MatchMode
impl Send for MatchMode
impl Sync for MatchMode
impl Unpin for MatchMode
impl UnwindSafe for MatchMode
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
)