Struct windows::Win32::System::Power::POWER_ACTION_POLICY
#[repr(C)]pub struct POWER_ACTION_POLICY {
pub Action: POWER_ACTION,
pub Flags: u32,
pub EventCode: POWER_ACTION_POLICY_EVENT_CODE,
}
Fields§
§Action: POWER_ACTION
§Flags: u32
§EventCode: POWER_ACTION_POLICY_EVENT_CODE
Trait Implementations§
§impl Clone for POWER_ACTION_POLICY
impl Clone for POWER_ACTION_POLICY
§fn clone(&self) -> POWER_ACTION_POLICY
fn clone(&self) -> POWER_ACTION_POLICY
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for POWER_ACTION_POLICY
impl Debug for POWER_ACTION_POLICY
§impl Default for POWER_ACTION_POLICY
impl Default for POWER_ACTION_POLICY
§impl PartialEq for POWER_ACTION_POLICY
impl PartialEq for POWER_ACTION_POLICY
§fn eq(&self, other: &POWER_ACTION_POLICY) -> bool
fn eq(&self, other: &POWER_ACTION_POLICY) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for POWER_ACTION_POLICY
impl Eq for POWER_ACTION_POLICY
impl StructuralPartialEq for POWER_ACTION_POLICY
Auto Trait Implementations§
impl Freeze for POWER_ACTION_POLICY
impl RefUnwindSafe for POWER_ACTION_POLICY
impl Send for POWER_ACTION_POLICY
impl Sync for POWER_ACTION_POLICY
impl Unpin for POWER_ACTION_POLICY
impl UnwindSafe for POWER_ACTION_POLICY
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)