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 Freeze for vring
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
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)