#[repr(u8)]pub enum EhrValidMask {
IRQENABLE = 0,
IRQDISABLE = 1,
}
Variants§
IRQENABLE = 0
Do not mask EHR interrupt i.e. interrupt is generated
IRQDISABLE = 1
Mask EHR interrupt i.e. no interrupt is generated
Implementations§
Source§impl EhrValidMask
impl EhrValidMask
Trait Implementations§
Source§impl Clone for EhrValidMask
impl Clone for EhrValidMask
Source§fn clone(&self) -> EhrValidMask
fn clone(&self) -> EhrValidMask
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 From<EhrValidMask> for u8
impl From<EhrValidMask> for u8
Source§fn from(val: EhrValidMask) -> u8
fn from(val: EhrValidMask) -> u8
Converts to this type from the input type.
Source§impl From<u8> for EhrValidMask
impl From<u8> for EhrValidMask
Source§fn from(val: u8) -> EhrValidMask
fn from(val: u8) -> EhrValidMask
Converts to this type from the input type.
Source§impl Ord for EhrValidMask
impl Ord for EhrValidMask
Source§fn cmp(&self, other: &EhrValidMask) -> Ordering
fn cmp(&self, other: &EhrValidMask) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for EhrValidMask
impl PartialEq for EhrValidMask
Source§impl PartialOrd for EhrValidMask
impl PartialOrd for EhrValidMask
impl Copy for EhrValidMask
impl Eq for EhrValidMask
impl StructuralPartialEq for EhrValidMask
Auto Trait Implementations§
impl Freeze for EhrValidMask
impl RefUnwindSafe for EhrValidMask
impl Send for EhrValidMask
impl Sync for EhrValidMask
impl Unpin for EhrValidMask
impl UnwindSafe for EhrValidMask
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
)