Struct windows::Phone::System::Power::PowerManager
pub struct PowerManager;
Implementations§
§impl PowerManager
impl PowerManager
pub fn PowerSavingMode() -> Result<PowerSavingMode>
pub fn PowerSavingModeChanged<P0>(
changehandler: P0
) -> Result<EventRegistrationToken>where
P0: IntoParam<EventHandler<IInspectable>>,
pub fn RemovePowerSavingModeChanged(token: EventRegistrationToken) -> Result<()>
pub fn PowerSavingModeEnabled() -> Result<bool>
Auto Trait Implementations§
impl RefUnwindSafe for PowerManager
impl Send for PowerManager
impl Sync for PowerManager
impl Unpin for PowerManager
impl UnwindSafe for PowerManager
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