Struct 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
impl Copy for PO_FX_DEVICE_V2
Auto Trait Implementations§
impl !Send for PO_FX_DEVICE_V2
impl !Sync for PO_FX_DEVICE_V2
impl Forget for PO_FX_DEVICE_V2
impl Freeze for PO_FX_DEVICE_V2
impl Move for PO_FX_DEVICE_V2
impl RefUnwindSafe for PO_FX_DEVICE_V2
impl Unpin for PO_FX_DEVICE_V2
impl UnsafeUnpin for PO_FX_DEVICE_V2where
*mut c_void: UnsafeUnpin,
*mut PO_FX_COMPONENT_IDLE_STATE: UnsafeUnpin,
*mut u32: UnsafeUnpin,
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