pub enum RXONLYR {
FULLDUPLEX,
OUTPUTDISABLED,
}
Expand description
Possible values of the field RXONLY
Variants§
Implementations§
Source§impl RXONLYR
impl RXONLYR
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_full_duplex(&self) -> bool
pub fn is_full_duplex(&self) -> bool
Checks if the value of the field is FULLDUPLEX
Sourcepub fn is_output_disabled(&self) -> bool
pub fn is_output_disabled(&self) -> bool
Checks if the value of the field is OUTPUTDISABLED
Trait Implementations§
impl Copy for RXONLYR
impl StructuralPartialEq for RXONLYR
Auto Trait Implementations§
impl Freeze for RXONLYR
impl RefUnwindSafe for RXONLYR
impl Send for RXONLYR
impl Sync for RXONLYR
impl Unpin for RXONLYR
impl UnwindSafe for RXONLYR
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