Struct twizzler_queue_raw::QueueEntry
source · #[repr(C)]pub struct QueueEntry<T> { /* private fields */ }
Expand description
A queue entry. All queues must be formed of these, as the queue algorithm uses data inside this struct as part of its operation. The cmd_slot is used internally to track turn, and the info is used by the full queue structure to manage completion. The data T is user data passed around the queue.
Implementations§
source§impl<T> QueueEntry<T>
impl<T> QueueEntry<T>
Trait Implementations§
source§impl<T: Clone> Clone for QueueEntry<T>
impl<T: Clone> Clone for QueueEntry<T>
source§fn clone(&self) -> QueueEntry<T>
fn clone(&self) -> QueueEntry<T>
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<T: Debug> Debug for QueueEntry<T>
impl<T: Debug> Debug for QueueEntry<T>
source§impl<T: Default> Default for QueueEntry<T>
impl<T: Default> Default for QueueEntry<T>
source§fn default() -> QueueEntry<T>
fn default() -> QueueEntry<T>
Returns the “default value” for a type. Read more
impl<T: Copy> Copy for QueueEntry<T>
Auto Trait Implementations§
impl<T> ObjSafe for QueueEntry<T>where T: ObjSafe,
impl<T> RefUnwindSafe for QueueEntry<T>where T: RefUnwindSafe,
impl<T> Send for QueueEntry<T>where T: Send,
impl<T> Sync for QueueEntry<T>where T: Sync,
impl<T> Unpin for QueueEntry<T>where T: Unpin,
impl<T> UnwindSafe for QueueEntry<T>where T: UnwindSafe,
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