[][src]Struct frunk::path::Path

pub struct Path<T>(_);

Methods

impl<T> Path<T>[src]

pub fn new() -> Path<T>[src]

Creates a new Path

pub fn get<V, I, O>(&self, o: O) -> V where
    O: PathTraverser<Path<T>, I, TargetValue = V>, 
[src]

Gets something using the current path

Trait Implementations

impl<HeadName, TailNames, HeadPluckIndex, TailPluckIndices, Traversable> PathTraverser<Path<HCons<HeadName, Path<TailNames>>>, HCons<HeadPluckIndex, TailPluckIndices>> for Traversable where
    Traversable: IntoLabelledGeneric,
    <Traversable as IntoLabelledGeneric>::Repr: ByNameFieldPlucker<HeadName, HeadPluckIndex>,
    <<Traversable as IntoLabelledGeneric>::Repr as ByNameFieldPlucker<HeadName, HeadPluckIndex>>::TargetValue: PathTraverser<Path<TailNames>, TailPluckIndices>, 
[src]

type TargetValue = <<<Traversable as IntoLabelledGeneric>::Repr as ByNameFieldPlucker<HeadName, HeadPluckIndex>>::TargetValue as PathTraverser<Path<TailNames>, TailPluckIndices>>::TargetValue

impl<Name, PluckIndex, Traversable> PathTraverser<Path<HCons<Name, HNil>>, PluckIndex> for Traversable where
    Traversable: IntoLabelledGeneric,
    <Traversable as IntoLabelledGeneric>::Repr: ByNameFieldPlucker<Name, PluckIndex>, 
[src]

type TargetValue = <<Traversable as IntoLabelledGeneric>::Repr as ByNameFieldPlucker<Name, PluckIndex>>::TargetValue

impl<T> Clone for Path<T> where
    T: Clone
[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl<Name, Tail, RHSParam> Add<Path<RHSParam>> for Path<HCons<Name, Path<Tail>>> where
    Path<Tail>: Add<Path<RHSParam>>, 
[src]

type Output = Path<HCons<Name, <Path<Tail> as Add<Path<RHSParam>>>::Output>>

The resulting type after applying the + operator.

impl<Name, RHSParam> Add<Path<RHSParam>> for Path<HCons<Name, HNil>>[src]

type Output = Path<HCons<Name, Path<RHSParam>>>

The resulting type after applying the + operator.

impl<T> Debug for Path<T> where
    T: Debug
[src]

impl<T> Copy for Path<T> where
    T: Copy
[src]

Auto Trait Implementations

impl<T> Send for Path<T> where
    T: Send

impl<T> Sync for Path<T> where
    T: Sync

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<Choices> CoproductSubsetter for Choices[src]

type Remainder = Choices

impl<Source> Sculptor for Source[src]

type Remainder = Source

impl<T, U, I> LiftInto for T where
    U: LiftFrom<T, I>, 
[src]