Struct frunk_core::path::Path
source · pub struct Path<T>(/* private fields */);
Implementations§
Trait Implementations§
source§impl<Name, Tail, RHSParam> Add<Path<RHSParam>> for Path<HCons<Name, Path<Tail>>>where
Path<Tail>: Add<Path<RHSParam>>,
impl<Name, Tail, RHSParam> Add<Path<RHSParam>> for Path<HCons<Name, Path<Tail>>>where Path<Tail>: Add<Path<RHSParam>>,
source§impl<HeadName, TailNames, HeadPluckIndex, TailPluckIndices, Traversable> PathTraverser<Path<HCons<HeadName, Path<TailNames>>>, HCons<HeadPluckIndex, TailPluckIndices>> for Traversablewhere
Traversable: IntoLabelledGeneric,
<Traversable as IntoLabelledGeneric>::Repr: ByNameFieldPlucker<HeadName, HeadPluckIndex>,
<<Traversable as IntoLabelledGeneric>::Repr as ByNameFieldPlucker<HeadName, HeadPluckIndex>>::TargetValue: PathTraverser<Path<TailNames>, TailPluckIndices>,
impl<HeadName, TailNames, HeadPluckIndex, TailPluckIndices, Traversable> PathTraverser<Path<HCons<HeadName, Path<TailNames>>>, HCons<HeadPluckIndex, TailPluckIndices>> for Traversablewhere 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
source§fn get(self) -> Self::TargetValue
fn get(self) -> Self::TargetValue
Returns a pair consisting of the value pointed to by the target key and the remainder.
source§impl<Name, PluckIndex, Traversable> PathTraverser<Path<HCons<Name, HNil>>, PluckIndex> for Traversablewhere
Traversable: IntoLabelledGeneric,
<Traversable as IntoLabelledGeneric>::Repr: ByNameFieldPlucker<Name, PluckIndex>,
impl<Name, PluckIndex, Traversable> PathTraverser<Path<HCons<Name, HNil>>, PluckIndex> for Traversablewhere Traversable: IntoLabelledGeneric, <Traversable as IntoLabelledGeneric>::Repr: ByNameFieldPlucker<Name, PluckIndex>,
type TargetValue = <<Traversable as IntoLabelledGeneric>::Repr as ByNameFieldPlucker<Name, PluckIndex>>::TargetValue
source§fn get(self) -> Self::TargetValue
fn get(self) -> Self::TargetValue
Returns a pair consisting of the value pointed to by the target key and the remainder.
impl<T: Copy> Copy for Path<T>
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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more