Struct frunk::semigroup::Min [] [src]

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

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

Trait Implementations

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

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

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

Formats the value using the given formatter.

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

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

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

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

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl<T: Ord + Ord> Ord for Min<T>
[src]

This method returns an Ordering between self and other. Read more

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

Associative operation taking which combines two values. Read more