pub enum BIDIOER {
OUTPUTDISABLED,
OUTPUTENABLED,
}
Expand description
Possible values of the field BIDIOE
Variants§
OUTPUTDISABLED
Output disabled (receive-only mode)
OUTPUTENABLED
Output enabled (transmit-only mode)
Implementations§
Source§impl BIDIOER
impl BIDIOER
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_output_disabled(&self) -> bool
pub fn is_output_disabled(&self) -> bool
Checks if the value of the field is OUTPUTDISABLED
Sourcepub fn is_output_enabled(&self) -> bool
pub fn is_output_enabled(&self) -> bool
Checks if the value of the field is OUTPUTENABLED
Trait Implementations§
impl Copy for BIDIOER
impl StructuralPartialEq for BIDIOER
Auto Trait Implementations§
impl Freeze for BIDIOER
impl RefUnwindSafe for BIDIOER
impl Send for BIDIOER
impl Sync for BIDIOER
impl Unpin for BIDIOER
impl UnwindSafe for BIDIOER
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