pub trait AliasTemplate {
type Output<'a>
where Self: 'a;
// Required methods
fn convert(&self) -> Self::Output<'_>;
fn replace<'a>(&'a self, capture: &Pattern) -> Self::Output<'a>;
}
Expand description
A trait for types that can be used as a template for an alias.
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.