Struct virtio_sys::vhost::vhost_vring_addr
source · #[repr(C)]pub struct vhost_vring_addr {
pub index: c_uint,
pub flags: c_uint,
pub desc_user_addr: u64,
pub used_user_addr: u64,
pub avail_user_addr: u64,
pub log_guest_addr: u64,
}
Fields§
§index: c_uint
§flags: c_uint
§desc_user_addr: u64
§used_user_addr: u64
§avail_user_addr: u64
§log_guest_addr: u64
Trait Implementations§
source§impl Clone for vhost_vring_addr
impl Clone for vhost_vring_addr
source§fn clone(&self) -> vhost_vring_addr
fn clone(&self) -> vhost_vring_addr
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 vhost_vring_addr
impl Debug for vhost_vring_addr
source§impl Default for vhost_vring_addr
impl Default for vhost_vring_addr
source§fn default() -> vhost_vring_addr
fn default() -> vhost_vring_addr
Returns the “default value” for a type. Read more
impl Copy for vhost_vring_addr
Auto Trait Implementations§
impl RefUnwindSafe for vhost_vring_addr
impl Send for vhost_vring_addr
impl Sync for vhost_vring_addr
impl Unpin for vhost_vring_addr
impl UnwindSafe for vhost_vring_addr
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