Trait AddBranch

Source
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§

Source

fn add_branch(&mut self, value: T) -> &mut T

Add a value to the branches of a type.

Implementors§