Trait is_tree::traits::tree_update::TreeUpdate
source · pub trait TreeUpdate<T>: HasPathSegmentwhere
T: HasPathSegment + Sized,{
// Required method
fn add_branch(&mut self, _child: impl Into<T>) -> &mut T;
// Provided method
fn remove_branch(&mut self, _identifier: &T::PathSegment) -> bool { ... }
}
Required Methods§
fn add_branch(&mut self, _child: impl Into<T>) -> &mut T
Provided Methods§
sourcefn remove_branch(&mut self, _identifier: &T::PathSegment) -> bool
fn remove_branch(&mut self, _identifier: &T::PathSegment) -> bool
Return `true`` if the branch was removed.
Object Safety§
This trait is not object safe.