1 2 3 4 5 6 7
use std::any::Any; pub trait Node: Any { fn children(&mut self) -> Vec<&mut dyn Node> { vec![] } }