Struct ntapi::ntpoapi::SYSTEM_POWER_STATE_CONTEXT
source · [−]#[repr(C)]pub struct SYSTEM_POWER_STATE_CONTEXT {
pub ContextAsUlong: ULONG,
}
Fields
ContextAsUlong: ULONG
Implementations
sourceimpl SYSTEM_POWER_STATE_CONTEXT
impl SYSTEM_POWER_STATE_CONTEXT
pub const fn Reserved1(&self) -> ULONG
pub fn set_Reserved1(&mut self, val: ULONG)
pub const fn TargetSystemState(&self) -> ULONG
pub fn set_TargetSystemState(&mut self, val: ULONG)
pub const fn EffectiveSystemState(&self) -> ULONG
pub fn set_EffectiveSystemState(&mut self, val: ULONG)
pub const fn CurrentSystemState(&self) -> ULONG
pub fn set_CurrentSystemState(&mut self, val: ULONG)
pub const fn IgnoreHibernationPath(&self) -> ULONG
pub fn set_IgnoreHibernationPath(&mut self, val: ULONG)
pub const fn PseudoTransition(&self) -> ULONG
pub fn set_PseudoTransition(&mut self, val: ULONG)
pub const fn Reserved2(&self) -> ULONG
pub fn set_Reserved2(&mut self, val: ULONG)
Trait Implementations
sourceimpl Clone for SYSTEM_POWER_STATE_CONTEXT
impl Clone for SYSTEM_POWER_STATE_CONTEXT
sourcefn clone(&self) -> SYSTEM_POWER_STATE_CONTEXT
fn clone(&self) -> SYSTEM_POWER_STATE_CONTEXT
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
impl Copy for SYSTEM_POWER_STATE_CONTEXT
Auto Trait Implementations
impl RefUnwindSafe for SYSTEM_POWER_STATE_CONTEXT
impl Send for SYSTEM_POWER_STATE_CONTEXT
impl Sync for SYSTEM_POWER_STATE_CONTEXT
impl Unpin for SYSTEM_POWER_STATE_CONTEXT
impl UnwindSafe for SYSTEM_POWER_STATE_CONTEXT
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more