[][src]Struct frunk_core::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<Self, I, TargetValue = V>, 
[src]

Gets something using the current path

Trait Implementations

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<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<T: Clone> Clone for Path<T>[src]

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

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

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

Auto Trait Implementations

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

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

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

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

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

Blanket Implementations

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

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

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

impl<Choices> CoproductSubsetter<CNil, HNil> for Choices[src]

type Remainder = Choices

impl<T> From<T> for T[src]

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

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

impl<Source> Sculptor<HNil, HNil> for Source[src]

type Remainder = Source

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

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.