Trait IntoMaybeErased
pub trait IntoMaybeErased {
type Output: IntoMaybeErased;
// Required method
fn into_maybe_erased(self) -> Self::Output;
}
Expand description
A more general version of IntoAny
that allows into AnyView
,
but also erasing other types that don’t implement RenderHtml
like routing.
Required Associated Types§
type Output: IntoMaybeErased
type Output: IntoMaybeErased
The type of the output.
Required Methods§
fn into_maybe_erased(self) -> Self::Output
fn into_maybe_erased(self) -> Self::Output
Converts the view into a type-erased view if in erased mode.