Skip to main content

AnyView

Type Alias AnyView 

Source
pub type AnyView = Box<dyn View>;
Expand description

A type-erased view, for heterogeneous lists and dynamic UI.

Aliased Type§

pub struct AnyView(/* private fields */);

Trait Implementations§

Source§

impl Fallback for AnyView

Source§

fn fallback() -> Self

The value to use instead.
Source§

impl FromLive for AnyView

Source§

fn from_live(value: Value) -> Result<Self, String>

The value as this type, or why it cannot be.