pub struct UsedRing {
pub flags: u16,
pub idx: u16,
pub ring: Vec<UsedElement>,
pub avail_event: u16,
}Expand description
Used ring structure.
Fields§
§flags: u16Flags (e.g., no notify).
idx: u16Index of the next entry to add.
ring: Vec<UsedElement>Ring of used elements.
avail_event: u16Avail event (for event suppression).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for UsedRing
impl RefUnwindSafe for UsedRing
impl Send for UsedRing
impl Sync for UsedRing
impl Unpin for UsedRing
impl UnsafeUnpin for UsedRing
impl UnwindSafe for UsedRing
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