Type Alias dioxus_core::Element
source · 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§
Trait Implementations§
source§impl<'a> IntoDynNode<'a> for &Element<'a>
impl<'a> IntoDynNode<'a> for &Element<'a>
source§fn into_vnode(self, _cx: &'a ScopeState) -> DynamicNode<'a>
fn into_vnode(self, _cx: &'a ScopeState) -> DynamicNode<'a>
Consume this item along with a scopestate and produce a DynamicNode Read more