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