Struct frunk::labelled::Field [−][src]
pub struct Field<Name, Type> { pub name: &'static str, pub value: Type, // some fields omitted }
Expand description
Fields
name: &'static str
value: Type
Trait Implementations
impl<Name, Type> PartialOrd<Field<Name, Type>> for Field<Name, Type> where
Name: PartialOrd<Name>,
Type: PartialOrd<Type>,
impl<Name, Type> PartialOrd<Field<Name, Type>> for Field<Name, Type> where
Name: PartialOrd<Name>,
Type: PartialOrd<Type>,
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
impl<Key, Source, Target, InnerIndices> Transmogrifier<Box<Target, Global>, MappingIndicesWrapper<InnerIndices>> for Field<Key, Box<Source, Global>> where
Source: Transmogrifier<Target, InnerIndices>,
impl<Key, Source, Target, InnerIndices> Transmogrifier<Box<Target, Global>, MappingIndicesWrapper<InnerIndices>> for Field<Key, Box<Source, Global>> where
Source: Transmogrifier<Target, InnerIndices>,
Implementation of Transmogrifier
that maps over an Box
in a Field
, transmogrifying the
contained element on the way past.
Consume this current object and return an object of the Target type. Read more
impl<SourceHead, SourceTail, TargetName, TargetHead, TargetTail, TransmogHeadIndex, TransmogTailIndices> Transmogrifier<HCons<TargetHead, TargetTail>, HCons<TransmogHeadIndex, TransmogTailIndices>> for Field<TargetName, HCons<SourceHead, SourceTail>> where
HCons<SourceHead, SourceTail>: Transmogrifier<HCons<TargetHead, TargetTail>, HCons<TransmogHeadIndex, TransmogTailIndices>>,
impl<SourceHead, SourceTail, TargetName, TargetHead, TargetTail, TransmogHeadIndex, TransmogTailIndices> Transmogrifier<HCons<TargetHead, TargetTail>, HCons<TransmogHeadIndex, TransmogTailIndices>> for Field<TargetName, HCons<SourceHead, SourceTail>> where
HCons<SourceHead, SourceTail>: Transmogrifier<HCons<TargetHead, TargetTail>, HCons<TransmogHeadIndex, TransmogTailIndices>>,
Implementation of Transmogrifier
for when the target is an HList
, and the Source
is a plucked
HList
.
Consume this current object and return an object of the Target type. Read more
impl<Key, Source, Target, InnerIndices> Transmogrifier<LinkedList<Target>, MappingIndicesWrapper<InnerIndices>> for Field<Key, LinkedList<Source>> where
Source: Transmogrifier<Target, InnerIndices>,
impl<Key, Source, Target, InnerIndices> Transmogrifier<LinkedList<Target>, MappingIndicesWrapper<InnerIndices>> for Field<Key, LinkedList<Source>> where
Source: Transmogrifier<Target, InnerIndices>,
Implementation of Transmogrifier
that maps over a $container
in a Field
, transmogrifying the
elements on the way past.
Consume this current object and return an object of the Target type. Read more
impl<Key, Source, Target, InnerIndices> Transmogrifier<Option<Target>, MappingIndicesWrapper<InnerIndices>> for Field<Key, Option<Source>> where
Source: Transmogrifier<Target, InnerIndices>,
impl<Key, Source, Target, InnerIndices> Transmogrifier<Option<Target>, MappingIndicesWrapper<InnerIndices>> for Field<Key, Option<Source>> where
Source: Transmogrifier<Target, InnerIndices>,
Implementation of Transmogrifier
that maps over an Option
in a Field
, transmogrifying the
contained element on the way past if present.
Consume this current object and return an object of the Target type. Read more
impl<Key, SourceValue> Transmogrifier<SourceValue, IdentityTransMog> for Field<Key, SourceValue>
impl<Key, SourceValue> Transmogrifier<SourceValue, IdentityTransMog> for Field<Key, SourceValue>
Implementation of Transmogrifier
for identity plucked Field
to Field
Transforms.
Consume this current object and return an object of the Target type. Read more
impl<Source, TargetName, TargetValue, TransmogIndices> Transmogrifier<TargetValue, PluckedLabelledGenericIndicesWrapper<TransmogIndices>> for Field<TargetName, Source> where
TargetValue: LabelledGeneric,
Source: LabelledGeneric + Transmogrifier<TargetValue, TransmogIndices>,
impl<Source, TargetName, TargetValue, TransmogIndices> Transmogrifier<TargetValue, PluckedLabelledGenericIndicesWrapper<TransmogIndices>> for Field<TargetName, Source> where
TargetValue: LabelledGeneric,
Source: LabelledGeneric + Transmogrifier<TargetValue, TransmogIndices>,
Consume this current object and return an object of the Target type. Read more
impl<Key, Source, Target, InnerIndices> Transmogrifier<Vec<Target, Global>, MappingIndicesWrapper<InnerIndices>> for Field<Key, Vec<Source, Global>> where
Source: Transmogrifier<Target, InnerIndices>,
impl<Key, Source, Target, InnerIndices> Transmogrifier<Vec<Target, Global>, MappingIndicesWrapper<InnerIndices>> for Field<Key, Vec<Source, Global>> where
Source: Transmogrifier<Target, InnerIndices>,
Implementation of Transmogrifier
that maps over a $container
in a Field
, transmogrifying the
elements on the way past.
Consume this current object and return an object of the Target type. Read more
impl<Key, Source, Target, InnerIndices> Transmogrifier<VecDeque<Target>, MappingIndicesWrapper<InnerIndices>> for Field<Key, VecDeque<Source>> where
Source: Transmogrifier<Target, InnerIndices>,
impl<Key, Source, Target, InnerIndices> Transmogrifier<VecDeque<Target>, MappingIndicesWrapper<InnerIndices>> for Field<Key, VecDeque<Source>> where
Source: Transmogrifier<Target, InnerIndices>,
Implementation of Transmogrifier
that maps over a $container
in a Field
, transmogrifying the
elements on the way past.
Consume this current object and return an object of the Target type. Read more
Auto Trait Implementations
impl<Name, Type> RefUnwindSafe for Field<Name, Type> where
Name: RefUnwindSafe,
Type: RefUnwindSafe,
impl<Name, Type> UnwindSafe for Field<Name, Type> where
Name: UnwindSafe,
Type: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more