#[repr(transparent)]pub struct PowerDomain(pub usize);Expand description
Power domain identifier
Represents a specific power domain in the SoC that can be independently powered on or off.
Tuple Fields§
§0: usizeTrait Implementations§
Source§impl Clone for PowerDomain
impl Clone for PowerDomain
Source§fn clone(&self) -> PowerDomain
fn clone(&self) -> PowerDomain
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 PowerDomain
impl Debug for PowerDomain
Source§impl From<u32> for PowerDomain
impl From<u32> for PowerDomain
Source§impl Ord for PowerDomain
impl Ord for PowerDomain
Source§fn cmp(&self, other: &PowerDomain) -> Ordering
fn cmp(&self, other: &PowerDomain) -> 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 PowerDomain
impl PartialEq for PowerDomain
Source§impl PartialOrd for PowerDomain
impl PartialOrd for PowerDomain
impl Copy for PowerDomain
impl Eq for PowerDomain
impl StructuralPartialEq for PowerDomain
Auto Trait Implementations§
impl Freeze for PowerDomain
impl RefUnwindSafe for PowerDomain
impl Send for PowerDomain
impl Sync for PowerDomain
impl Unpin for PowerDomain
impl UnwindSafe for PowerDomain
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