pub struct PowerSleepConfig {
pub hp_sys: HpSysPower,
pub lp_sys_active: LpSysPower,
pub lp_sys_sleep: LpSysPower,
}
Available on crate feature
unstable
only.Expand description
Configuration for controlling the power settings of high-power and low-power systems during sleep modes.
Fields§
§hp_sys: HpSysPower
Power configuration for the high-power system during sleep.
lp_sys_active: LpSysPower
Power configuration for the low-power system when it is active.
lp_sys_sleep: LpSysPower
Power configuration for the low-power system when it is in sleep mode.
Trait Implementations§
Source§impl Clone for PowerSleepConfig
impl Clone for PowerSleepConfig
Source§fn clone(&self) -> PowerSleepConfig
fn clone(&self) -> PowerSleepConfig
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 moreimpl Copy for PowerSleepConfig
Auto Trait Implementations§
impl Freeze for PowerSleepConfig
impl RefUnwindSafe for PowerSleepConfig
impl Send for PowerSleepConfig
impl Sync for PowerSleepConfig
impl Unpin for PowerSleepConfig
impl UnwindSafe for PowerSleepConfig
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dst: *mut u8)
unsafe fn clone_to_uninit(&self, dst: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)