Struct vfio_sys::vfio::vfio_device_info
source · #[repr(C)]pub struct vfio_device_info {
pub argsz: u32,
pub flags: u32,
pub num_regions: u32,
pub num_irqs: u32,
pub cap_offset: u32,
pub pad: u32,
}
Fields§
§argsz: u32
§flags: u32
§num_regions: u32
§num_irqs: u32
§cap_offset: u32
§pad: u32
Trait Implementations§
source§impl Clone for vfio_device_info
impl Clone for vfio_device_info
source§fn clone(&self) -> vfio_device_info
fn clone(&self) -> vfio_device_info
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 vfio_device_info
impl Debug for vfio_device_info
source§impl Default for vfio_device_info
impl Default for vfio_device_info
source§fn default() -> vfio_device_info
fn default() -> vfio_device_info
Returns the “default value” for a type. Read more
impl Copy for vfio_device_info
Auto Trait Implementations§
impl RefUnwindSafe for vfio_device_info
impl Send for vfio_device_info
impl Sync for vfio_device_info
impl Unpin for vfio_device_info
impl UnwindSafe for vfio_device_info
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