Trait Indexer

Source
pub trait Indexer: Default {
    type Item;

    // Provided method
    fn index(&mut self, _item: &Record<Self::Item>) -> Result<bool> { ... }
}

Required Associated Types§

Provided Methods§

Source

fn index(&mut self, _item: &Record<Self::Item>) -> Result<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.

Implementors§