pub struct Unbounded<T> {
head: CachePadded<Position<T>>,
tail: CachePadded<Position<T>>,
}
Expand description
An unbounded queue.
Fields§
§head: CachePadded<Position<T>>
The head of the queue.
tail: CachePadded<Position<T>>
The tail of the queue.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> !Freeze for Unbounded<T>
impl<T> RefUnwindSafe for Unbounded<T>
impl<T> Send for Unbounded<T>
impl<T> Sync for Unbounded<T>
impl<T> Unpin for Unbounded<T>
impl<T> !UnwindSafe for Unbounded<T>
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