Struct virtio_sys::vhost::vhost_memory
source · #[repr(C)]pub struct vhost_memory {
pub nregions: u32,
pub padding: u32,
pub regions: __IncompleteArrayField<vhost_memory_region>,
}
Fields§
§nregions: u32
§padding: u32
§regions: __IncompleteArrayField<vhost_memory_region>
Trait Implementations§
source§impl Debug for vhost_memory
impl Debug for vhost_memory
source§impl Default for vhost_memory
impl Default for vhost_memory
source§fn default() -> vhost_memory
fn default() -> vhost_memory
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for vhost_memory
impl Send for vhost_memory
impl Sync for vhost_memory
impl Unpin for vhost_memory
impl UnwindSafe for vhost_memory
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