[][src]Struct frunk::semigroup::Max

pub struct Max<T: Ord>(pub T);

Wrapper type for types that are ordered and can have a Max combination

Trait Implementations

impl<T: Clone + Ord> Clone for Max<T>[src]

impl<T: Copy + Ord> Copy for Max<T>[src]

impl<T: Debug + Ord> Debug for Max<T>[src]

impl<T: Eq + Ord> Eq for Max<T>[src]

impl<T: Hash + Ord> Hash for Max<T>[src]

impl<T: Ord> Ord for Max<T>[src]

impl<T: PartialEq + Ord> PartialEq<Max<T>> for Max<T>[src]

impl<T: PartialOrd + Ord> PartialOrd<Max<T>> for Max<T>[src]

impl<T> Semigroup for Max<T> where
    T: Ord + Clone
[src]

impl<T: Ord> StructuralEq for Max<T>[src]

impl<T: Ord> StructuralPartialEq for Max<T>[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for Max<T> where
    T: RefUnwindSafe

impl<T> Send for Max<T> where
    T: Send

impl<T> Sync for Max<T> where
    T: Sync

impl<T> Unpin for Max<T> where
    T: Unpin

impl<T> UnwindSafe for Max<T> where
    T: 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.