Type Alias freya::prelude::Element

pub type Element<'a> = Option<VNode<'a>>;
Expand description

An Element is a possibly-none VNode created by calling render on Scope or ScopeState.

An Errored Element will propagate the error to the nearest error boundary.

Aliased Type§

enum Element<'a> {
    None,
    Some(VNode<'a>),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(VNode<'a>)

Some value of type T.