pub trait Aliasable<'a> {
type Target;
// Required method
fn alias<T>(self, alias: T) -> Self::Target
where T: Into<Cow<'a, str>>;
}
Expand description
An object that can be aliased.
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.