Struct windows_sys::Wdk::System::SystemServices::PO_FX_DEVICE_V2
#[repr(C)]pub struct PO_FX_DEVICE_V2 {
pub Version: u32,
pub Flags: u64,
pub ComponentActiveConditionCallback: PPO_FX_COMPONENT_ACTIVE_CONDITION_CALLBACK,
pub ComponentIdleConditionCallback: PPO_FX_COMPONENT_IDLE_CONDITION_CALLBACK,
pub ComponentIdleStateCallback: PPO_FX_COMPONENT_IDLE_STATE_CALLBACK,
pub DevicePowerRequiredCallback: PPO_FX_DEVICE_POWER_REQUIRED_CALLBACK,
pub DevicePowerNotRequiredCallback: PPO_FX_DEVICE_POWER_NOT_REQUIRED_CALLBACK,
pub PowerControlCallback: PPO_FX_POWER_CONTROL_CALLBACK,
pub DeviceContext: *mut c_void,
pub ComponentCount: u32,
pub Components: [PO_FX_COMPONENT_V2; 1],
}
Fields§
§Version: u32
§Flags: u64
§ComponentActiveConditionCallback: PPO_FX_COMPONENT_ACTIVE_CONDITION_CALLBACK
§ComponentIdleConditionCallback: PPO_FX_COMPONENT_IDLE_CONDITION_CALLBACK
§ComponentIdleStateCallback: PPO_FX_COMPONENT_IDLE_STATE_CALLBACK
§DevicePowerRequiredCallback: PPO_FX_DEVICE_POWER_REQUIRED_CALLBACK
§DevicePowerNotRequiredCallback: PPO_FX_DEVICE_POWER_NOT_REQUIRED_CALLBACK
§PowerControlCallback: PPO_FX_POWER_CONTROL_CALLBACK
§DeviceContext: *mut c_void
§ComponentCount: u32
§Components: [PO_FX_COMPONENT_V2; 1]
Trait Implementations§
§impl Clone for PO_FX_DEVICE_V2
impl Clone for PO_FX_DEVICE_V2
§fn clone(&self) -> PO_FX_DEVICE_V2
fn clone(&self) -> PO_FX_DEVICE_V2
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 moreimpl Copy for PO_FX_DEVICE_V2
Auto Trait Implementations§
impl Freeze for PO_FX_DEVICE_V2
impl RefUnwindSafe for PO_FX_DEVICE_V2
impl !Send for PO_FX_DEVICE_V2
impl !Sync for PO_FX_DEVICE_V2
impl Unpin for PO_FX_DEVICE_V2
impl UnwindSafe for PO_FX_DEVICE_V2
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
)