Struct frunk::labelled::ValueField [−][src]
pub struct ValueField<Type> { pub name: &'static str, pub value: Type, }
Expand description
A version of Field that doesn’t have a type-level label, just a value-level one
Fields
name: &'static str
value: Type
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
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
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
Mutably borrows from an owned value. Read more