#[repr(C)]pub struct PCI_EXPRESS_SRIOV_CAPABILITY {Show 17 fields
pub Header: PCI_EXPRESS_ENHANCED_CAPABILITY_HEADER,
pub SRIOVCapabilities: PCI_EXPRESS_SRIOV_CAPS,
pub SRIOVControl: PCI_EXPRESS_SRIOV_CONTROL,
pub SRIOVStatus: PCI_EXPRESS_SRIOV_STATUS,
pub InitialVFs: u16,
pub TotalVFs: u16,
pub NumVFs: u16,
pub FunctionDependencyLink: u8,
pub RsvdP1: u8,
pub FirstVFOffset: u16,
pub VFStride: u16,
pub RsvdP2: u16,
pub VFDeviceId: u16,
pub SupportedPageSizes: u32,
pub SystemPageSize: u32,
pub BaseAddresses: [u32; 6],
pub VFMigrationStateArrayOffset: PCI_EXPRESS_SRIOV_MIGRATION_STATE_ARRAY,
}
Fields§
§Header: PCI_EXPRESS_ENHANCED_CAPABILITY_HEADER
§SRIOVCapabilities: PCI_EXPRESS_SRIOV_CAPS
§SRIOVControl: PCI_EXPRESS_SRIOV_CONTROL
§SRIOVStatus: PCI_EXPRESS_SRIOV_STATUS
§InitialVFs: u16
§TotalVFs: u16
§NumVFs: u16
§FunctionDependencyLink: u8
§RsvdP1: u8
§FirstVFOffset: u16
§VFStride: u16
§RsvdP2: u16
§VFDeviceId: u16
§SupportedPageSizes: u32
§SystemPageSize: u32
§BaseAddresses: [u32; 6]
§VFMigrationStateArrayOffset: PCI_EXPRESS_SRIOV_MIGRATION_STATE_ARRAY
Trait Implementations§
§impl Clone for PCI_EXPRESS_SRIOV_CAPABILITY
impl Clone for PCI_EXPRESS_SRIOV_CAPABILITY
§fn clone(&self) -> PCI_EXPRESS_SRIOV_CAPABILITY
fn clone(&self) -> PCI_EXPRESS_SRIOV_CAPABILITY
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 PCI_EXPRESS_SRIOV_CAPABILITY
Auto Trait Implementations§
impl Freeze for PCI_EXPRESS_SRIOV_CAPABILITY
impl RefUnwindSafe for PCI_EXPRESS_SRIOV_CAPABILITY
impl Send for PCI_EXPRESS_SRIOV_CAPABILITY
impl Sync for PCI_EXPRESS_SRIOV_CAPABILITY
impl Unpin for PCI_EXPRESS_SRIOV_CAPABILITY
impl UnwindSafe for PCI_EXPRESS_SRIOV_CAPABILITY
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
)