Struct attr::MapPath
[−]
[src]
pub struct MapPath<A, R> { /* fields omitted */ }
A path that describes a mapping operation, which later application of a subpath.
Paths are usually inferred and should not be directly used in user code.
Methods
impl<A, R> MapPath<A, R>
[src]
fn from<'a, 'b: 'a, X: 'b, Y: 'b, Z: 'b, NX: 'b, NY: 'b, NA>(
self,
attr: NA
) -> Path<NX, Box<Iterator<Item = Result<Z>> + 'a>, NA, Self> where
A: IterableAttr<'a, X, Item = Y>,
R: Traverse<'a, 'b, Y, Z>,
NA: Attr<NX, Output = NY>,
Self: Traverse<'a, 'b, NY, Box<Iterator<Item = Result<Z>>>>,
self,
attr: NA
) -> Path<NX, Box<Iterator<Item = Result<Z>> + 'a>, NA, Self> where
A: IterableAttr<'a, X, Item = Y>,
R: Traverse<'a, 'b, Y, Z>,
NA: Attr<NX, Output = NY>,
Self: Traverse<'a, 'b, NY, Box<Iterator<Item = Result<Z>>>>,
Extends a mapped path by another segment that always succeeds