Function as_node_mut
Source pub fn as_node_mut<T: Node + 'static>(node: &mut dyn Node) -> Option<&mut T>
Expand description
Get a mutable reference to a node of a specific type.
§Arguments
node - The node to get a reference to.
§Returns
A reference to the node of the specified type if the node is of the specified type, otherwise None.