Struct frunk::semigroup::Product [] [src]

pub struct Product<T>(pub T);

Wrapper type for types that can have a Product combination

Trait Implementations

impl<T: PartialEq> PartialEq for Product<T>
[src]

[src]

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

[src]

This method tests for !=.

impl<T: Debug> Debug for Product<T>
[src]

[src]

Formats the value using the given formatter.

impl<T: Eq> Eq for Product<T>
[src]

impl<T: Clone> Clone for Product<T>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<T: Copy> Copy for Product<T>
[src]

impl<T: PartialOrd> PartialOrd for Product<T>
[src]

[src]

This method returns an ordering between self and other values if one exists. Read more

[src]

This method tests less than (for self and other) and is used by the < operator. Read more

[src]

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

[src]

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

[src]

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

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

[src]

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

[src]

🔬 This is a nightly-only experimental API. (ord_max_min)

Compares and returns the maximum of two values. Read more

[src]

🔬 This is a nightly-only experimental API. (ord_max_min)

Compares and returns the minimum of two values. Read more

impl<T: Hash> Hash for Product<T>
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Semigroup for Product<i8>
[src]

[src]

Associative operation taking which combines two values. Read more

impl Semigroup for Product<i16>
[src]

[src]

Associative operation taking which combines two values. Read more

impl Semigroup for Product<i32>
[src]

[src]

Associative operation taking which combines two values. Read more

impl Semigroup for Product<i64>
[src]

[src]

Associative operation taking which combines two values. Read more

impl Semigroup for Product<u8>
[src]

[src]

Associative operation taking which combines two values. Read more

impl Semigroup for Product<u16>
[src]

[src]

Associative operation taking which combines two values. Read more

impl Semigroup for Product<u32>
[src]

[src]

Associative operation taking which combines two values. Read more

impl Semigroup for Product<u64>
[src]

[src]

Associative operation taking which combines two values. Read more

impl Semigroup for Product<isize>
[src]

[src]

Associative operation taking which combines two values. Read more

impl Semigroup for Product<usize>
[src]

[src]

Associative operation taking which combines two values. Read more

impl Semigroup for Product<f32>
[src]

[src]

Associative operation taking which combines two values. Read more

impl Semigroup for Product<f64>
[src]

[src]

Associative operation taking which combines two values. Read more

impl Monoid for Product<i8>
[src]

[src]

For a given Monoid, returns its empty/zero value Read more

impl Monoid for Product<i16>
[src]

[src]

For a given Monoid, returns its empty/zero value Read more

impl Monoid for Product<i32>
[src]

[src]

For a given Monoid, returns its empty/zero value Read more

impl Monoid for Product<i64>
[src]

[src]

For a given Monoid, returns its empty/zero value Read more

impl Monoid for Product<u8>
[src]

[src]

For a given Monoid, returns its empty/zero value Read more

impl Monoid for Product<u16>
[src]

[src]

For a given Monoid, returns its empty/zero value Read more

impl Monoid for Product<u32>
[src]

[src]

For a given Monoid, returns its empty/zero value Read more

impl Monoid for Product<u64>
[src]

[src]

For a given Monoid, returns its empty/zero value Read more

impl Monoid for Product<isize>
[src]

[src]

For a given Monoid, returns its empty/zero value Read more

impl Monoid for Product<usize>
[src]

[src]

For a given Monoid, returns its empty/zero value Read more

impl Monoid for Product<f32>
[src]

[src]

For a given Monoid, returns its empty/zero value Read more

impl Monoid for Product<f64>
[src]

[src]

For a given Monoid, returns its empty/zero value Read more