Trait MutableVecEntry

Source
pub trait MutableVecEntry<V> {
    // Required methods
    fn entry<F>(&self, f: F) -> Entry<'_, V>
       where F: FnMut(&V) -> bool;
    fn entry_cloned<F>(&self, f: F) -> EntryCloned<'_, V>
       where F: FnMut(&V) -> bool;
}

Required Methods§

Source

fn entry<F>(&self, f: F) -> Entry<'_, V>
where F: FnMut(&V) -> bool,

Source

fn entry_cloned<F>(&self, f: F) -> EntryCloned<'_, V>
where F: FnMut(&V) -> bool,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<V> MutableVecEntry<V> for MutableVec<V>

Source§

fn entry<F>(&self, f: F) -> Entry<'_, V>
where F: FnMut(&V) -> bool,

Source§

fn entry_cloned<F>(&self, f: F) -> EntryCloned<'_, V>
where F: FnMut(&V) -> bool,

Implementors§