pub trait HasGet<'a>: KnowsGetType<'a>{
    // Required method
    fn get<PathSegment>(self, segment: PathSegment) -> Option<Self::GetType>
       where PathSegment: Into<<Self::GetType as KnowsPathSegment>::PathSegment>;
}

Required Methods§

source

fn get<PathSegment>(self, segment: PathSegment) -> Option<Self::GetType>
where PathSegment: Into<<Self::GetType as KnowsPathSegment>::PathSegment>,

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<'a, Parent, Value> HasGet<'a> for &'a Visitor<Parent, Value>
where Parent: Clone, Value: Clone + HasGet<'a>, Value::GetType: KnowsPathSegment + KnowsVisitor<'a>, <Value::GetType as KnowsVisitor<'a>>::Visitor: KnowsPathSegment<PathSegment = <Value::GetType as KnowsPathSegment>::PathSegment>, Self::GetType: HasVisitorConstructor<'a, Value = Value::GetType>, Visitor<Parent, Value>: Into<<Self::GetType as KnowsParent<'a>>::Parent>,

source§

impl<'a, Value> HasGet<'a> for &'a RootVisitor<Value>
where Value: Clone + HasGet<'a>, Value::GetType: KnowsPathSegment + KnowsVisitor<'a>, <Value::GetType as KnowsVisitor<'a>>::Visitor: KnowsPathSegment<PathSegment = <Value::GetType as KnowsPathSegment>::PathSegment>, Self::GetType: HasVisitorConstructor<'a, Value = Value::GetType>, RootVisitor<Value>: Into<<Self::GetType as KnowsParent<'a>>::Parent> + Clone,