#[repr(C)]pub struct VirtqUsedElem {
pub id: u32,
pub len: u32,
}Expand description
Used ring element
Fields§
§id: u32Index of start of used descriptor chain
len: u32Total length of the descriptor chain
Trait Implementations§
Source§impl Clone for VirtqUsedElem
impl Clone for VirtqUsedElem
Source§fn clone(&self) -> VirtqUsedElem
fn clone(&self) -> VirtqUsedElem
Returns a duplicate 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 VirtqUsedElem
impl Debug for VirtqUsedElem
impl Copy for VirtqUsedElem
Auto Trait Implementations§
impl Freeze for VirtqUsedElem
impl RefUnwindSafe for VirtqUsedElem
impl Send for VirtqUsedElem
impl Sync for VirtqUsedElem
impl Unpin for VirtqUsedElem
impl UnsafeUnpin for VirtqUsedElem
impl UnwindSafe for VirtqUsedElem
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: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more