[−][src]Struct frunk_core::path::Path
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]
O: PathTraverser<Self, I, TargetValue = V>,
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.
fn add(self, _: Path<RHSParam>) -> Self::Output
[src]
impl<Name, Tail, RHSParam> Add<Path<RHSParam>> for Path<HCons<Name, Path<Tail>>> where
Path<Tail>: Add<Path<RHSParam>>,
[src]
Path<Tail>: Add<Path<RHSParam>>,
type Output = Path<HCons<Name, <Path<Tail> as Add<Path<RHSParam>>>::Output>>
The resulting type after applying the +
operator.
fn add(self, _: Path<RHSParam>) -> Self::Output
[src]
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]
Traversable: IntoLabelledGeneric,
<Traversable as IntoLabelledGeneric>::Repr: ByNameFieldPlucker<HeadName, HeadPluckIndex>,
<<Traversable as IntoLabelledGeneric>::Repr as ByNameFieldPlucker<HeadName, HeadPluckIndex>>::TargetValue: PathTraverser<Path<TailNames>, TailPluckIndices>,
type TargetValue = <<<Traversable as IntoLabelledGeneric>::Repr as ByNameFieldPlucker<HeadName, HeadPluckIndex>>::TargetValue as PathTraverser<Path<TailNames>, TailPluckIndices>>::TargetValue
fn get(self) -> Self::TargetValue
[src]
impl<Name, PluckIndex, Traversable> PathTraverser<Path<HCons<Name, HNil>>, PluckIndex> for Traversable where
Traversable: IntoLabelledGeneric,
<Traversable as IntoLabelledGeneric>::Repr: ByNameFieldPlucker<Name, PluckIndex>,
[src]
Traversable: IntoLabelledGeneric,
<Traversable as IntoLabelledGeneric>::Repr: ByNameFieldPlucker<Name, PluckIndex>,
type TargetValue = <<Traversable as IntoLabelledGeneric>::Repr as ByNameFieldPlucker<Name, PluckIndex>>::TargetValue
fn get(self) -> Self::TargetValue
[src]
Auto Trait Implementations
impl<T> RefUnwindSafe for Path<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> Send for Path<T> where
T: Send,
T: Send,
impl<T> Sync for Path<T> where
T: Sync,
T: Sync,
impl<T> Unpin for Path<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for Path<T> where
T: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<Choices> CoproductSubsetter<CNil, HNil> for Choices
[src]
type Remainder = Choices
fn subset(
Self
) -> Result<CNil, <Choices as CoproductSubsetter<CNil, HNil>>::Remainder>
[src]
Self
) -> Result<CNil, <Choices as CoproductSubsetter<CNil, HNil>>::Remainder>
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U, I> LiftInto<U, I> for T where
U: LiftFrom<T, I>,
[src]
U: LiftFrom<T, I>,
impl<Source> Sculptor<HNil, HNil> for Source
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,