pub trait Indexer: Default {
type Item;
// Provided method
fn index(&mut self, _item: &Record<Self::Item>) -> Result<bool> { ... }
}
Required Associated Types§
Provided Methods§
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.