Trait vector_lookup::lookup_v2::ValuePath  
pub trait ValuePath<'a>: Clone {
    type Iter: Iterator<Item = BorrowedSegment<'a>> + Clone;
    // Required method
    fn segment_iter(&self) -> Self::Iter;
    // Provided methods
    fn concat<T>(&self, path: T) -> PathConcat<Self, T>
       where T: ValuePath<'a> { ... }
    fn eq(&self, other: impl ValuePath<'a>) -> bool { ... }
    fn can_start_with(&self, prefix: impl ValuePath<'a>) -> bool { ... }
    fn to_owned_value_path(&self) -> Result<OwnedValuePath, ()> { ... }
}Expand description
A path is simply the data describing how to look up a field from a value. This should only be implemented for types that are very cheap to clone, such as references.
Required Associated Types§
type Iter: Iterator<Item = BorrowedSegment<'a>> + Clone
Required Methods§
fn segment_iter(&self) -> Self::Iter
fn segment_iter(&self) -> Self::Iter
Iterates over the raw “Borrowed” segments.
Provided Methods§
fn concat<T>(&self, path: T) -> PathConcat<Self, T>where
    T: ValuePath<'a>,
fn eq(&self, other: impl ValuePath<'a>) -> bool
fn can_start_with(&self, prefix: impl ValuePath<'a>) -> bool
fn to_owned_value_path(&self) -> Result<OwnedValuePath, ()>
Object Safety§
This trait is not object safe.