pub trait TreeUpdate<T>: HasPathSegment
where 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§

source

fn add_branch(&mut self, _child: impl Into<T>) -> &mut T

Provided Methods§

source

fn remove_branch(&mut self, _identifier: &T::PathSegment) -> bool

Return `true`` if the branch was removed.

Object Safety§

This trait is not object safe.

Implementors§