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