pub struct AtomicDequeue<T> { /* private fields */ }
Implementations§
Source§impl<T> AtomicDequeue<T>
impl<T> AtomicDequeue<T>
pub fn new(capacity: usize) -> Self
pub fn push_back(&mut self, v: T) -> RESULT
pub fn push_front(&mut self, v: T) -> RESULT
pub fn pop_back(&mut self) -> Option<T>
pub fn pop_front(&mut self) -> Option<T>
pub fn end_iter(&self)
pub fn len(&self) -> usize
pub fn capacity(&self) -> usize
pub fn notify(&self)
pub fn wait(&self)
Trait Implementations§
Auto Trait Implementations§
impl<T> !Freeze for AtomicDequeue<T>
impl<T> RefUnwindSafe for AtomicDequeue<T>where
T: RefUnwindSafe,
impl<T> !Send for AtomicDequeue<T>
impl<T> !Sync for AtomicDequeue<T>
impl<T> Unpin for AtomicDequeue<T>
impl<T> UnwindSafe for AtomicDequeue<T>where
T: RefUnwindSafe,
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