Trait Remove

Source
pub trait Remove<K>
where K: ?Sized,
{ type Output: ?Sized; // Required method fn remove(&mut self, _: K) -> Self::Output; }

Required Associated Types§

Required Methods§

Source

fn remove(&mut self, _: K) -> Self::Output

Implementations on Foreign Types§

Source§

impl Remove<usize> for String

Source§

type Output = char

Source§

fn remove(&mut self, index: usize) -> Self::Output

Source§

impl<'a, K, Q, V> Remove<&'a Q> for BTreeMap<K, V>
where K: Eq + Ord + Borrow<Q>, Q: Eq + Ord + ?Sized,

Source§

type Output = Option<V>

Source§

fn remove(&mut self, q: &Q) -> Self::Output

Source§

impl<'a, K, Q, V, S> Remove<&'a Q> for HashMap<K, V, S>
where K: Eq + Hash + Borrow<Q>, Q: Eq + Hash + ?Sized, S: BuildHasher,

Source§

type Output = Option<V>

Source§

fn remove(&mut self, q: &Q) -> Self::Output

Source§

impl<T> Remove<usize> for LinkedList<T>

Source§

type Output = T

Source§

fn remove(&mut self, index: usize) -> Self::Output

Source§

impl<T> Remove<usize> for VecDeque<T>

Source§

type Output = Option<T>

Source§

fn remove(&mut self, index: usize) -> Self::Output

Source§

impl<T> Remove<usize> for Vec<T>

Source§

type Output = T

Source§

fn remove(&mut self, index: usize) -> Self::Output

Implementors§