pub trait NamedItem<'ni> {
type Name: Hash + Ord + Copy + Display;
type Unnamed: Unnamed<'ni, Named = Self>;
// Required methods
fn name(&self) -> Self::Name;
fn dummy(name: Self::Name) -> Self;
}Required Associated Types§
Required 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.