Struct virtio_sys::virtio_ring::vring
source · #[repr(C)]pub struct vring {
pub num: c_uint,
pub desc: *mut vring_desc_t,
pub avail: *mut vring_avail_t,
pub used: *mut vring_used_t,
}
Fields§
§num: c_uint
§desc: *mut vring_desc_t
§avail: *mut vring_avail_t
§used: *mut vring_used_t
Trait Implementations§
impl Copy for vring
Auto Trait Implementations§
impl RefUnwindSafe for vring
impl !Send for vring
impl !Sync for vring
impl Unpin for vring
impl UnwindSafe for vring
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