pub fn as_node<T: Node + 'static>(node: &dyn Node) -> Option<&T>
Get a reference to a node of a specific type.
node
A reference to the node of the specified type if the node is of the specified type, otherwise None.
None