#[repr(C)]pub struct VirtioVendorCap {
pub cap_id: u8,
pub cap_next: u8,
pub cap_length: u8,
pub typ: u8,
pub bar: u8,
pub id: u8,
pub padding: [u8; 2],
pub offset: u32,
pub length: u32,
}
Fields§
§cap_id: u8
§cap_next: u8
§cap_length: u8
§typ: u8
§bar: u8
§id: u8
§padding: [u8; 2]
§offset: u32
§length: u32
Trait Implementations§
Source§impl Clone for VirtioVendorCap
impl Clone for VirtioVendorCap
Source§fn clone(&self) -> VirtioVendorCap
fn clone(&self) -> VirtioVendorCap
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 VirtioVendorCap
impl Debug for VirtioVendorCap
impl Copy for VirtioVendorCap
Auto Trait Implementations§
impl Freeze for VirtioVendorCap
impl RefUnwindSafe for VirtioVendorCap
impl Send for VirtioVendorCap
impl Sync for VirtioVendorCap
impl Unpin for VirtioVendorCap
impl UnwindSafe for VirtioVendorCap
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