IntoDynQueue

Trait IntoDynQueue 

Source
pub trait IntoDynQueue<T, U: Queue<T>> {
    // Required method
    fn into_dyn_queue<'a>(self) -> DynQueue<'a, T, U>;
}
Expand description

Trait to produce a new DynQueue

Required Methods§

Source

fn into_dyn_queue<'a>(self) -> DynQueue<'a, T, U>

new

Implementations on Foreign Types§

Source§

impl<T> IntoDynQueue<T, RwLock<VecDeque<T>>> for VecDeque<T>

Source§

fn into_dyn_queue<'a>(self) -> DynQueue<'a, T, RwLock<VecDeque<T>>>

Source§

impl<T> IntoDynQueue<T, RwLock<VecDeque<T>>> for RwLock<VecDeque<T>>

Source§

fn into_dyn_queue<'a>(self) -> DynQueue<'a, T, RwLock<VecDeque<T>>>

Source§

impl<T> IntoDynQueue<T, RwLock<Vec<T>>> for Vec<T>

Source§

fn into_dyn_queue<'a>(self) -> DynQueue<'a, T, RwLock<Vec<T>>>

Source§

impl<T> IntoDynQueue<T, RwLock<Vec<T>>> for RwLock<Vec<T>>

Source§

fn into_dyn_queue<'a>(self) -> DynQueue<'a, T, RwLock<Vec<T>>>

Implementors§