#[repr(u8)]pub enum CpuCtrlPcr {
PCR_0 = 0,
PCR_1 = 1,
}Variants§
PCR_0 = 0
Do not switch off power even if pdn_req is asserted.
PCR_1 = 1
Switch off power when pdn_req is asserted.
Implementations§
Source§impl CpuCtrlPcr
impl CpuCtrlPcr
Trait Implementations§
Source§impl Clone for CpuCtrlPcr
impl Clone for CpuCtrlPcr
Source§fn clone(&self) -> CpuCtrlPcr
fn clone(&self) -> CpuCtrlPcr
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 CpuCtrlPcr
impl Debug for CpuCtrlPcr
Source§impl From<CpuCtrlPcr> for u8
impl From<CpuCtrlPcr> for u8
Source§fn from(val: CpuCtrlPcr) -> u8
fn from(val: CpuCtrlPcr) -> u8
Converts to this type from the input type.
Source§impl From<u8> for CpuCtrlPcr
impl From<u8> for CpuCtrlPcr
Source§fn from(val: u8) -> CpuCtrlPcr
fn from(val: u8) -> CpuCtrlPcr
Converts to this type from the input type.
Source§impl Ord for CpuCtrlPcr
impl Ord for CpuCtrlPcr
Source§fn cmp(&self, other: &CpuCtrlPcr) -> Ordering
fn cmp(&self, other: &CpuCtrlPcr) -> 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 CpuCtrlPcr
impl PartialEq for CpuCtrlPcr
Source§impl PartialOrd for CpuCtrlPcr
impl PartialOrd for CpuCtrlPcr
impl Copy for CpuCtrlPcr
impl Eq for CpuCtrlPcr
impl StructuralPartialEq for CpuCtrlPcr
Auto Trait Implementations§
impl Freeze for CpuCtrlPcr
impl RefUnwindSafe for CpuCtrlPcr
impl Send for CpuCtrlPcr
impl Sync for CpuCtrlPcr
impl Unpin for CpuCtrlPcr
impl UnwindSafe for CpuCtrlPcr
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