pub trait IntoTemplate<'a> {
type Template;
// Required method
fn into_template<T: TypeEq<This = Self::Template>>(self) -> Self::Template;
}
Expand description
Convert Self
into a template, usually some Generatable
Required Associated Types§
Required Methods§
sourcefn into_template<T: TypeEq<This = Self::Template>>(self) -> Self::Template
fn into_template<T: TypeEq<This = Self::Template>>(self) -> Self::Template
Convert Self
into Self::Template
. The type parameter T is for easy type annotation in
case of ambiguity into which template it should be converted into