Struct virtio_sys::virtio_ring::vring_desc
source · #[repr(C)]pub struct vring_desc {
pub addr: __virtio64,
pub len: __virtio32,
pub flags: __virtio16,
pub next: __virtio16,
}
Fields§
§addr: __virtio64
§len: __virtio32
§flags: __virtio16
§next: __virtio16
Trait Implementations§
source§impl Clone for vring_desc
impl Clone for vring_desc
source§fn clone(&self) -> vring_desc
fn clone(&self) -> vring_desc
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 vring_desc
impl Debug for vring_desc
source§impl Default for vring_desc
impl Default for vring_desc
source§fn default() -> vring_desc
fn default() -> vring_desc
Returns the “default value” for a type. Read more
impl Copy for vring_desc
Auto Trait Implementations§
impl RefUnwindSafe for vring_desc
impl Send for vring_desc
impl Sync for vring_desc
impl Unpin for vring_desc
impl UnwindSafe for vring_desc
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