pub trait ExecSpecMultisetSingleton: Sized {
type Elem;
// Required method
exec fn exec_singleton(v: Self::Elem) -> Self;
}Expand description
Spec for executable version of Multiset::singleton.
Required Associated Types§
Required Methods§
Sourceexec fn exec_singleton(v: Self::Elem) -> Self
exec fn exec_singleton(v: Self::Elem) -> Self
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.