pub trait SmartHashSet{
type output;
type option;
// Required method
fn get_matching<'a>(
&'a self,
options: <<Self as SmartHashSet>::output as SmartHash>::option,
) -> Option<Vec<&'a Self::output>>;
// Provided method
fn get_none_default(&self) -> Self::option { ... }
}Required Associated Types§
Required Methods§
fn get_matching<'a>( &'a self, options: <<Self as SmartHashSet>::output as SmartHash>::option, ) -> Option<Vec<&'a Self::output>>
Provided Methods§
fn get_none_default(&self) -> Self::option
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".