Trait HasBranch

Source
pub trait HasBranch<'a> {
    // Provided method
    fn branch<T>(&'a mut self, segment: impl Into<String>) -> &'a mut T
       where &'a mut Self: HasGet + HasBranches<&'a mut T>,
             Self: AddBranch<T> + Sized + HasGetMut<'a>,
             T: HasPathSegment + 'a,
             String: Into<T> { ... }
}

Provided Methods§

Source

fn branch<T>(&'a mut self, segment: impl Into<String>) -> &'a mut T
where &'a mut Self: HasGet + HasBranches<&'a mut T>, Self: AddBranch<T> + Sized + HasGetMut<'a>, T: HasPathSegment + 'a, String: Into<T>,

Implementors§

Source§

impl<'a, T> HasBranch<'a> for T