pub struct WordList<A: GlobalAlloc + Default = System> { /* private fields */ }
Implementations§
Source§impl<A: GlobalAlloc + Default> WordList<A>
impl<A: GlobalAlloc + Default> WordList<A>
pub fn with_capacity(cap: usize) -> Self
pub fn new() -> Self
pub fn push(&self, data: usize)
pub fn exclusive_push(&self, data: usize)
pub fn pop(&self) -> Option<usize>
pub fn drop_out_all<F>(&self, retain: Option<F>)
pub fn prepend_with(&self, other: &Self)
pub fn count(&self) -> usize
pub fn iter(&self) -> ListIterator<(), A> ⓘ
Auto Trait Implementations§
impl<A = System> !Freeze for WordList<A>
impl<A> RefUnwindSafe for WordList<A>
impl<A> Send for WordList<A>
impl<A> Sync for WordList<A>
impl<A> Unpin for WordList<A>
impl<A> UnwindSafe for WordList<A>
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