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