#[repr(transparent)]pub struct HostPowerdown(pub u32);Expand description
This register start the power-down sequence.
Tuple Fields§
§0: u32Implementations§
Source§impl HostPowerdown
impl HostPowerdown
Sourcepub const fn host_powerdown(&self) -> bool
pub const fn host_powerdown(&self) -> bool
Power down enable register.
Sourcepub const fn set_host_powerdown(&mut self, val: bool)
pub const fn set_host_powerdown(&mut self, val: bool)
Power down enable register.
Trait Implementations§
Source§impl Clone for HostPowerdown
impl Clone for HostPowerdown
Source§fn clone(&self) -> HostPowerdown
fn clone(&self) -> HostPowerdown
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 HostPowerdown
impl Debug for HostPowerdown
Source§impl Default for HostPowerdown
impl Default for HostPowerdown
Source§fn default() -> HostPowerdown
fn default() -> HostPowerdown
Returns the “default value” for a type. Read more
Source§impl PartialEq for HostPowerdown
impl PartialEq for HostPowerdown
impl Copy for HostPowerdown
impl Eq for HostPowerdown
impl StructuralPartialEq for HostPowerdown
Auto Trait Implementations§
impl Freeze for HostPowerdown
impl RefUnwindSafe for HostPowerdown
impl Send for HostPowerdown
impl Sync for HostPowerdown
impl Unpin for HostPowerdown
impl UnwindSafe for HostPowerdown
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