pub trait AddBranch<T> {
// Required method
fn add_branch(&mut self, value: T) -> &mut T;
}
Expand description
This is the trait one should implement to provide a way to add a branch to a type.
Required Methods§
Sourcefn add_branch(&mut self, value: T) -> &mut T
fn add_branch(&mut self, value: T) -> &mut T
Add a value to the branches of a type.