Struct windows_sys::Wdk::System::SystemServices::DEVICE_CAPABILITIES
#[repr(C)]pub struct DEVICE_CAPABILITIES {
pub Size: u16,
pub Version: u16,
pub _bitfield: u32,
pub Address: u32,
pub UINumber: u32,
pub DeviceState: [DEVICE_POWER_STATE; 7],
pub SystemWake: SYSTEM_POWER_STATE,
pub DeviceWake: DEVICE_POWER_STATE,
pub D1Latency: u32,
pub D2Latency: u32,
pub D3Latency: u32,
}
Fields§
§Size: u16
§Version: u16
§_bitfield: u32
§Address: u32
§UINumber: u32
§DeviceState: [DEVICE_POWER_STATE; 7]
§SystemWake: SYSTEM_POWER_STATE
§DeviceWake: DEVICE_POWER_STATE
§D1Latency: u32
§D2Latency: u32
§D3Latency: u32
Trait Implementations§
§impl Clone for DEVICE_CAPABILITIES
impl Clone for DEVICE_CAPABILITIES
§fn clone(&self) -> DEVICE_CAPABILITIES
fn clone(&self) -> DEVICE_CAPABILITIES
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 DEVICE_CAPABILITIES
Auto Trait Implementations§
impl Freeze for DEVICE_CAPABILITIES
impl RefUnwindSafe for DEVICE_CAPABILITIES
impl Send for DEVICE_CAPABILITIES
impl Sync for DEVICE_CAPABILITIES
impl Unpin for DEVICE_CAPABILITIES
impl UnwindSafe for DEVICE_CAPABILITIES
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
)