pub struct MsiCapability {
pub cap_offset: u16,
pub is_64bit: bool,
pub per_vector_mask: bool,
pub max_vectors_log2: u8,
}Expand description
MSI capability information parsed from the PCI capability chain.
Fields§
§cap_offset: u16Offset of the MSI capability in config space.
is_64bit: boolTrue if 64-bit address is supported.
per_vector_mask: boolTrue if per-vector masking is supported.
max_vectors_log2: u8Maximum number of vectors (log2) the device can request.
Trait Implementations§
Source§impl Clone for MsiCapability
impl Clone for MsiCapability
Source§fn clone(&self) -> MsiCapability
fn clone(&self) -> MsiCapability
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for MsiCapability
impl RefUnwindSafe for MsiCapability
impl Send for MsiCapability
impl Sync for MsiCapability
impl Unpin for MsiCapability
impl UnwindSafe for MsiCapability
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)