Struct frunk::labelled::ValueField[][src]

pub struct ValueField<Type> {
    pub name: &'static str,
    pub value: Type,
}

A version of Field that doesn’t have a type-level label, just a value-level one

Fields

name: &'static strvalue: Type

Trait Implementations

impl<Type> Clone for ValueField<Type> where
    Type: Clone
[src]

impl<Type> Copy for ValueField<Type> where
    Type: Copy
[src]

impl<Type> Debug for ValueField<Type> where
    Type: Debug
[src]

impl<Type> Eq for ValueField<Type> where
    Type: Eq
[src]

impl<Type> Hash for ValueField<Type> where
    Type: Hash
[src]

impl<Type> Ord for ValueField<Type> where
    Type: Ord
[src]

impl<Type> PartialEq<ValueField<Type>> for ValueField<Type> where
    Type: PartialEq<Type>, 
[src]

impl<Type> PartialOrd<ValueField<Type>> for ValueField<Type> where
    Type: PartialOrd<Type>, 
[src]

impl<Type> StructuralEq for ValueField<Type>[src]

impl<Type> StructuralPartialEq for ValueField<Type>[src]

Auto Trait Implementations

impl<Type> RefUnwindSafe for ValueField<Type> where
    Type: RefUnwindSafe

impl<Type> Send for ValueField<Type> where
    Type: Send

impl<Type> Sync for ValueField<Type> where
    Type: Sync

impl<Type> Unpin for ValueField<Type> where
    Type: Unpin

impl<Type> UnwindSafe for ValueField<Type> where
    Type: 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.