pub trait IntoDynNode<A = ()> {
    // Required method
    fn into_dyn_node(self) -> DynamicNode;
}
Expand description

A trait that allows various items to be converted into a dynamic node for the rsx macro

Required Methods§

source

fn into_dyn_node(self) -> DynamicNode

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

Implementations on Foreign Types§

source§

impl IntoDynNode for &str

source§

impl IntoDynNode for ()

source§

impl IntoDynNode for String

source§

impl IntoDynNode for Arguments<'_>

source§

impl<T: IntoDynNode> IntoDynNode for Option<T>

Implementors§