Struct frunk::labelled::ValueField [−][src]
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
impl<Type> Clone for ValueField<Type> where
Type: Clone,
[src]
Type: Clone,
pub fn clone(&self) -> ValueField<Type>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<Type> Copy for ValueField<Type> where
Type: Copy,
[src]
Type: Copy,
impl<Type> Debug for ValueField<Type> where
Type: Debug,
[src]
Type: Debug,
impl<Type> Eq for ValueField<Type> where
Type: Eq,
[src]
Type: Eq,
impl<Type> Hash for ValueField<Type> where
Type: Hash,
[src]
Type: Hash,
pub fn hash<__H>(&self, state: &mut __H) where
__H: Hasher,
[src]
__H: Hasher,
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl<Type> Ord for ValueField<Type> where
Type: Ord,
[src]
Type: Ord,
pub fn cmp(&self, other: &ValueField<Type>) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
impl<Type> PartialEq<ValueField<Type>> for ValueField<Type> where
Type: PartialEq<Type>,
[src]
Type: PartialEq<Type>,
pub fn eq(&self, other: &ValueField<Type>) -> bool
[src]
pub fn ne(&self, other: &ValueField<Type>) -> bool
[src]
impl<Type> PartialOrd<ValueField<Type>> for ValueField<Type> where
Type: PartialOrd<Type>,
[src]
Type: PartialOrd<Type>,
pub fn partial_cmp(&self, other: &ValueField<Type>) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[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,
Type: RefUnwindSafe,
impl<Type> Send for ValueField<Type> where
Type: Send,
Type: Send,
impl<Type> Sync for ValueField<Type> where
Type: Sync,
Type: Sync,
impl<Type> Unpin for ValueField<Type> where
Type: Unpin,
Type: Unpin,
impl<Type> UnwindSafe for ValueField<Type> where
Type: UnwindSafe,
Type: 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,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<Choices> CoproductSubsetter<CNil, HNil> for Choices
[src]
type Remainder = Choices
pub 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]
type Remainder = Source
pub fn sculpt(self) -> (HNil, <Source as Sculptor<HNil, HNil>>::Remainder)
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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>,