#[repr(u8)]pub enum ShiftctlPincfg {
DISABLE = 0,
OPEND_BIDIROUTEN = 1,
BIDIR_OUTDATA = 2,
OUTPUT = 3,
}Variants§
DISABLE = 0
Shifter pin output disabled
OPEND_BIDIROUTEN = 1
Shifter pin open-drain or bidirectional output enable
BIDIR_OUTDATA = 2
Shifter pin bidirectional output data
OUTPUT = 3
Shifter pin output
Implementations§
Trait Implementations§
Source§impl Clone for ShiftctlPincfg
impl Clone for ShiftctlPincfg
Source§fn clone(&self) -> ShiftctlPincfg
fn clone(&self) -> ShiftctlPincfg
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ShiftctlPincfg
impl Debug for ShiftctlPincfg
Source§impl From<ShiftctlPincfg> for u8
impl From<ShiftctlPincfg> for u8
Source§fn from(val: ShiftctlPincfg) -> u8
fn from(val: ShiftctlPincfg) -> u8
Converts to this type from the input type.
Source§impl From<u8> for ShiftctlPincfg
impl From<u8> for ShiftctlPincfg
Source§fn from(val: u8) -> ShiftctlPincfg
fn from(val: u8) -> ShiftctlPincfg
Converts to this type from the input type.
Source§impl Ord for ShiftctlPincfg
impl Ord for ShiftctlPincfg
Source§fn cmp(&self, other: &ShiftctlPincfg) -> Ordering
fn cmp(&self, other: &ShiftctlPincfg) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ShiftctlPincfg
impl PartialEq for ShiftctlPincfg
Source§impl PartialOrd for ShiftctlPincfg
impl PartialOrd for ShiftctlPincfg
impl Copy for ShiftctlPincfg
impl Eq for ShiftctlPincfg
impl StructuralPartialEq for ShiftctlPincfg
Auto Trait Implementations§
impl Freeze for ShiftctlPincfg
impl RefUnwindSafe for ShiftctlPincfg
impl Send for ShiftctlPincfg
impl Sync for ShiftctlPincfg
impl Unpin for ShiftctlPincfg
impl UnwindSafe for ShiftctlPincfg
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