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