Struct Syspwrupreq
#[repr(transparent)]pub struct Syspwrupreq(pub u32);
Expand description
System power-up request
Tuple Fields§
§0: u32
Implementations§
§impl Syspwrupreq
impl Syspwrupreq
pub fn set_active(&mut self, val: bool)
pub fn set_active(&mut self, val: bool)
Activate power-up request
Trait Implementations§
§impl Clone for Syspwrupreq
impl Clone for Syspwrupreq
§fn clone(&self) -> Syspwrupreq
fn clone(&self) -> Syspwrupreq
Returns a copy 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 more§impl Default for Syspwrupreq
impl Default for Syspwrupreq
§fn default() -> Syspwrupreq
fn default() -> Syspwrupreq
Returns the “default value” for a type. Read more
§impl PartialEq for Syspwrupreq
impl PartialEq for Syspwrupreq
impl Copy for Syspwrupreq
impl Eq for Syspwrupreq
impl StructuralPartialEq for Syspwrupreq
Auto Trait Implementations§
impl Freeze for Syspwrupreq
impl RefUnwindSafe for Syspwrupreq
impl Send for Syspwrupreq
impl Sync for Syspwrupreq
impl Unpin for Syspwrupreq
impl UnwindSafe for Syspwrupreq
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)