Trait DynNode

Source
pub trait DynNode {
    // Required method
    fn node(self: Arc<Self>) -> Arc<dyn Node>;
}
Expand description

Dynamic upcasting trait for Node

Required Methods§

Source

fn node(self: Arc<Self>) -> Arc<dyn Node>

Implementors§

Source§

impl<T> DynNode for T
where T: 'static + Node,