Trait freya::prelude::IntoDynNode
pub trait IntoDynNode<'a, A = ()> {
// Required method
fn into_vnode(self, cx: &'a ScopeState) -> DynamicNode<'a>;
}
Expand description
A trait that allows various items to be converted into a dynamic node for the rsx macro
Required Methods§
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
You can use the bump alloactor of the scopestate to creat the dynamic node