pub enum EOCR {
NOTCOMPLETE,
COMPLETE,
}
Expand description
Possible values of the field EOC
Variants§
Implementations§
Source§impl EOCR
impl EOCR
Sourcepub fn bit_is_clear(&self) -> bool
pub fn bit_is_clear(&self) -> bool
Returns true
if the bit is clear (0)
Sourcepub fn bit_is_set(&self) -> bool
pub fn bit_is_set(&self) -> bool
Returns true
if the bit is set (1)
Sourcepub fn is_not_complete(&self) -> bool
pub fn is_not_complete(&self) -> bool
Checks if the value of the field is NOTCOMPLETE
Sourcepub fn is_complete(&self) -> bool
pub fn is_complete(&self) -> bool
Checks if the value of the field is COMPLETE
Trait Implementations§
impl Copy for EOCR
impl StructuralPartialEq for EOCR
Auto Trait Implementations§
impl Freeze for EOCR
impl RefUnwindSafe for EOCR
impl Send for EOCR
impl Sync for EOCR
impl Unpin for EOCR
impl UnwindSafe for EOCR
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