#[repr(u8)]pub enum SwPadCtlPadOnoffOde {
ODE_0_OPEN_DRAIN_DISABLED = 0,
ODE_1_OPEN_DRAIN_ENABLED = 1,
}Variants§
ODE_0_OPEN_DRAIN_DISABLED = 0
Open Drain Disabled (Output is CMOS)
ODE_1_OPEN_DRAIN_ENABLED = 1
Open Drain Enabled (Output is Open Drain)
Implementations§
Trait Implementations§
Source§impl Clone for SwPadCtlPadOnoffOde
impl Clone for SwPadCtlPadOnoffOde
Source§fn clone(&self) -> SwPadCtlPadOnoffOde
fn clone(&self) -> SwPadCtlPadOnoffOde
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 SwPadCtlPadOnoffOde
impl Debug for SwPadCtlPadOnoffOde
Source§impl From<SwPadCtlPadOnoffOde> for u8
impl From<SwPadCtlPadOnoffOde> for u8
Source§fn from(val: SwPadCtlPadOnoffOde) -> u8
fn from(val: SwPadCtlPadOnoffOde) -> u8
Converts to this type from the input type.
Source§impl From<u8> for SwPadCtlPadOnoffOde
impl From<u8> for SwPadCtlPadOnoffOde
Source§fn from(val: u8) -> SwPadCtlPadOnoffOde
fn from(val: u8) -> SwPadCtlPadOnoffOde
Converts to this type from the input type.
Source§impl Ord for SwPadCtlPadOnoffOde
impl Ord for SwPadCtlPadOnoffOde
Source§fn cmp(&self, other: &SwPadCtlPadOnoffOde) -> Ordering
fn cmp(&self, other: &SwPadCtlPadOnoffOde) -> 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 SwPadCtlPadOnoffOde
impl PartialEq for SwPadCtlPadOnoffOde
Source§impl PartialOrd for SwPadCtlPadOnoffOde
impl PartialOrd for SwPadCtlPadOnoffOde
impl Copy for SwPadCtlPadOnoffOde
impl Eq for SwPadCtlPadOnoffOde
impl StructuralPartialEq for SwPadCtlPadOnoffOde
Auto Trait Implementations§
impl Freeze for SwPadCtlPadOnoffOde
impl RefUnwindSafe for SwPadCtlPadOnoffOde
impl Send for SwPadCtlPadOnoffOde
impl Sync for SwPadCtlPadOnoffOde
impl Unpin for SwPadCtlPadOnoffOde
impl UnwindSafe for SwPadCtlPadOnoffOde
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