Struct win_sys::SystemServices::POWER_MONITOR_INVOCATION
source · [−]#[repr(C)]pub struct POWER_MONITOR_INVOCATION {
pub Console: BOOLEAN,
pub RequestReason: POWER_MONITOR_REQUEST_REASON,
}Expand description
Required features: ‘Win32_System_SystemServices’, ‘Win32_Foundation’
Fields
Console: BOOLEANRequestReason: POWER_MONITOR_REQUEST_REASONTrait Implementations
sourceimpl Clone for POWER_MONITOR_INVOCATION
impl Clone for POWER_MONITOR_INVOCATION
sourcepub fn clone(&self) -> POWER_MONITOR_INVOCATION
pub fn clone(&self) -> POWER_MONITOR_INVOCATION
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for POWER_MONITOR_INVOCATION
impl Debug for POWER_MONITOR_INVOCATION
sourceimpl Default for POWER_MONITOR_INVOCATION
impl Default for POWER_MONITOR_INVOCATION
sourcepub fn default() -> POWER_MONITOR_INVOCATION
pub fn default() -> POWER_MONITOR_INVOCATION
Returns the “default value” for a type. Read more
impl Copy for POWER_MONITOR_INVOCATION
impl Eq for POWER_MONITOR_INVOCATION
Auto Trait Implementations
impl RefUnwindSafe for POWER_MONITOR_INVOCATION
impl Send for POWER_MONITOR_INVOCATION
impl Sync for POWER_MONITOR_INVOCATION
impl Unpin for POWER_MONITOR_INVOCATION
impl UnwindSafe for POWER_MONITOR_INVOCATION
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more