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