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

Required Methods§

source

fn get<K>(self, key: K) -> Option<Self::GetType>
where K: 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 Value: Clone + KnowsPathSegment + HasGet<'a>, Value::GetType: KnowsPathSegment<PathSegment = Value::PathSegment> + KnowsParentVisitor<'a>, Self: Into<<Value::GetType as KnowsParentVisitor<'a>>::ParentVisitor>,

source§

impl<'a, Parent, Value> HasGet<'a> for Visitor<Parent, Value>
where Value: Clone + KnowsPathSegment + HasGet<'a>, Value::GetType: KnowsPathSegment<PathSegment = Value::PathSegment> + KnowsParentVisitor<'a>, Self: Into<<Value::GetType as KnowsParentVisitor<'a>>::ParentVisitor>,

source§

impl<'a, Value> HasGet<'a> for &'a RootVisitor<Value>
where Value: Clone + Copy + KnowsPathSegment + HasGet<'a>, Value::GetType: KnowsPathSegment<PathSegment = Value::PathSegment> + KnowsParentVisitor<'a>, RootVisitor<Value>: Into<<Value::GetType as KnowsParentVisitor<'a>>::ParentVisitor>,

source§

impl<'a, Value> HasGet<'a> for RootVisitor<Value>
where Value: Copy + KnowsPathSegment + HasGet<'a>, Value::GetType: KnowsPathSegment<PathSegment = Value::PathSegment> + KnowsParentVisitor<'a>, Self: Into<<Value::GetType as KnowsParentVisitor<'a>>::ParentVisitor>,