pub enum HDSELR {
NOTSELECTED,
SELECTED,
}
Expand description
Possible values of the field HDSEL
Variants§
Implementations§
Source§impl HDSELR
impl HDSELR
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_selected(&self) -> bool
pub fn is_not_selected(&self) -> bool
Checks if the value of the field is NOTSELECTED
Sourcepub fn is_selected(&self) -> bool
pub fn is_selected(&self) -> bool
Checks if the value of the field is SELECTED
Trait Implementations§
impl Copy for HDSELR
impl StructuralPartialEq for HDSELR
Auto Trait Implementations§
impl Freeze for HDSELR
impl RefUnwindSafe for HDSELR
impl Send for HDSELR
impl Sync for HDSELR
impl Unpin for HDSELR
impl UnwindSafe for HDSELR
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