pub trait DynTreeNode {
// Required methods
fn arc_children(&self) -> Vec<&Arc<Self>>;
fn with_new_arc_children(
&self,
arc_self: Arc<Self>,
new_children: Vec<Arc<Self>>,
) -> Result<Arc<Self>>;
}
Expand description
Required Methods§
Sourcefn arc_children(&self) -> Vec<&Arc<Self>>
fn arc_children(&self) -> Vec<&Arc<Self>>
Returns all children of the specified TreeNode
.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.