Struct ctru_sys::PtmSleepConfig
source · #[repr(C)]pub struct PtmSleepConfig {
pub exit_sleep_events: PtmWakeEvents,
pub continue_sleep_events: PtmWakeEvents,
}
Fields§
§exit_sleep_events: PtmWakeEvents
< Wake events for which the system should fully wake up.
continue_sleep_events: PtmWakeEvents
< Wake events for which the system should return to sleep.
Trait Implementations§
source§impl Clone for PtmSleepConfig
impl Clone for PtmSleepConfig
source§fn clone(&self) -> PtmSleepConfig
fn clone(&self) -> PtmSleepConfig
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PtmSleepConfig
impl Debug for PtmSleepConfig
source§impl Default for PtmSleepConfig
impl Default for PtmSleepConfig
source§fn default() -> PtmSleepConfig
fn default() -> PtmSleepConfig
Returns the “default value” for a type. Read more