Struct windows::Win32::System::Power::SET_POWER_SETTING_VALUE
#[repr(C)]pub struct SET_POWER_SETTING_VALUE {
pub Version: u32,
pub Guid: GUID,
pub PowerCondition: SYSTEM_POWER_CONDITION,
pub DataLength: u32,
pub Data: [u8; 1],
}
Fields§
§Version: u32
§Guid: GUID
§PowerCondition: SYSTEM_POWER_CONDITION
§DataLength: u32
§Data: [u8; 1]
Trait Implementations§
§impl Clone for SET_POWER_SETTING_VALUE
impl Clone for SET_POWER_SETTING_VALUE
§fn clone(&self) -> SET_POWER_SETTING_VALUE
fn clone(&self) -> SET_POWER_SETTING_VALUE
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 SET_POWER_SETTING_VALUE
impl Debug for SET_POWER_SETTING_VALUE
§impl Default for SET_POWER_SETTING_VALUE
impl Default for SET_POWER_SETTING_VALUE
§impl PartialEq for SET_POWER_SETTING_VALUE
impl PartialEq for SET_POWER_SETTING_VALUE
§fn eq(&self, other: &SET_POWER_SETTING_VALUE) -> bool
fn eq(&self, other: &SET_POWER_SETTING_VALUE) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SET_POWER_SETTING_VALUE
impl Eq for SET_POWER_SETTING_VALUE
impl StructuralPartialEq for SET_POWER_SETTING_VALUE
Auto Trait Implementations§
impl Freeze for SET_POWER_SETTING_VALUE
impl RefUnwindSafe for SET_POWER_SETTING_VALUE
impl Send for SET_POWER_SETTING_VALUE
impl Sync for SET_POWER_SETTING_VALUE
impl Unpin for SET_POWER_SETTING_VALUE
impl UnwindSafe for SET_POWER_SETTING_VALUE
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
)