Trait gxi::VNode [−][src]
pub trait VNode: AsRef<dyn Any> + AsMut<dyn Any> + 'static {
fn new() -> Self
where
Self: Sized;
fn into_strong_node_type(self) -> StrongNodeType;
}
Expand description
Smallest node which can be added to other nodes but it itself may or may not have the ability to hold a child
Required methods
create a new instance of the node
TopLevelNode doesn’t require a parent yet it needs to implement this function to maintain a common interface for the gxi compiler