pub trait AtomProxy<Owned>{
type Compare: ?Sized + Ord;
// Required methods
fn to_owned(&self) -> Owned;
fn to_compare(&self) -> &Self::Compare;
}Required Associated Types§
Required Methods§
fn to_owned(&self) -> Owned
fn to_compare(&self) -> &Self::Compare
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.