Struct attr::Path [] [src]

pub struct Path<Input, Output, A: Attr<Input>, Rest> { /* fields omitted */ }

A plain path describing how to retrieve a value at a point, and then recursive down the rest of the path.

Paths are usually inferred and should not be directly used in user code.

Methods

impl<'a, 'b: 'a, X: 'b, Z: 'b, A: Attr<X>, R: Traverse<'a, 'b, A::Output, Z>> Path<X, Z, A, R> where A::Output: 'b
[src]

Extends a path by another segment.

This needs a retrieval that always succeds

Extends a path by another segment.

This assumes that the retrieval cannot always succeed.

Extends a path by an iteration operation.

This assumes that the iteration is always possible

Trait Implementations

impl<'a, 'b: 'a, X: 'b, Z: 'b, A: Attr<X>, R: Traverse<'a, 'b, A::Output, Z>> Traverse<'a, 'b, X, Z> for Path<X, Z, A, R> where A::Output: 'b
[src]

implementation of the traversal for a specific path