#[repr(C, packed(4))]pub struct MsiCapability {
pub header: PcieCapabilityHeader,
pub msg_ctrl: u16,
pub msg_addr_low: u32,
pub msg_addr_hi: u32,
pub msg_data: u16,
pub resv: u16,
pub mask: u32,
pub pending: u32,
}
Fields§
§header: PcieCapabilityHeader
§msg_ctrl: u16
§msg_addr_low: u32
§msg_addr_hi: u32
§msg_data: u16
§resv: u16
§mask: u32
§pending: u32
Trait Implementations§
source§impl Clone for MsiCapability
impl Clone for MsiCapability
source§fn clone(&self) -> MsiCapability
fn clone(&self) -> MsiCapability
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 moresource§impl Debug for MsiCapability
impl Debug for MsiCapability
impl Copy for MsiCapability
Auto Trait Implementations§
impl DeviceSync for MsiCapability
impl Freeze for MsiCapability
impl ObjSafe for MsiCapability
impl RefUnwindSafe for MsiCapability
impl Send for MsiCapability
impl Sync for MsiCapability
impl Unpin for MsiCapability
impl UnwindSafe for MsiCapability
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§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
)