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