Type Alias dioxus_core::prelude::Element

source ·
pub type Element = Option<VNode>;
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 {
    None,
    Some(VNode),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(VNode)

Some value of type T.

Trait Implementations§

source§

impl IntoDynNode for &Element

source§

fn into_dyn_node(self) -> DynamicNode

Consume this item along with a scopestate and produce a DynamicNode Read more