#[repr(u8)]pub enum Txdir {
TX_INPUT = 0,
TX_OUTPUT = 1,
}Variants§
TX_INPUT = 0
TXD pin is an input in single-wire mode.
TX_OUTPUT = 1
TXD pin is an output in single-wire mode.
Implementations§
Trait Implementations§
Source§impl Ord for Txdir
impl Ord for Txdir
Source§impl PartialOrd for Txdir
impl PartialOrd for Txdir
impl Copy for Txdir
impl Eq for Txdir
impl StructuralPartialEq for Txdir
Auto Trait Implementations§
impl Freeze for Txdir
impl RefUnwindSafe for Txdir
impl Send for Txdir
impl Sync for Txdir
impl Unpin for Txdir
impl UnwindSafe for Txdir
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