Struct windows_sys::Wdk::System::SystemServices::PO_FX_DEVICE_V1
#[repr(C)]pub struct PO_FX_DEVICE_V1 {
pub Version: u32,
pub ComponentCount: u32,
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 Components: [PO_FX_COMPONENT_V1; 1],
}
Fields§
§Version: u32
§ComponentCount: u32
§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
§Components: [PO_FX_COMPONENT_V1; 1]
Trait Implementations§
§impl Clone for PO_FX_DEVICE_V1
impl Clone for PO_FX_DEVICE_V1
§fn clone(&self) -> PO_FX_DEVICE_V1
fn clone(&self) -> PO_FX_DEVICE_V1
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_V1
Auto Trait Implementations§
impl Freeze for PO_FX_DEVICE_V1
impl RefUnwindSafe for PO_FX_DEVICE_V1
impl !Send for PO_FX_DEVICE_V1
impl !Sync for PO_FX_DEVICE_V1
impl Unpin for PO_FX_DEVICE_V1
impl UnwindSafe for PO_FX_DEVICE_V1
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
)