Struct collected::ProductVal [−][src]
pub struct ProductVal<A>(pub A);
Expand description
A collection taking the product from values with Product
trait.
Tuple Fields
0: A
Implementations
Trait Implementations
Returns the “default value” for a type. Read more
Extends a collection with the contents of an iterator. Read more
extend_one
)Extends a collection with exactly one element.
extend_one
)Reserves capacity in a collection for the given number of additional elements. Read more
Creates a value from an iterator. Read more
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<A> RefUnwindSafe for ProductVal<A> where
A: RefUnwindSafe,
impl<A> Send for ProductVal<A> where
A: Send,
impl<A> Sync for ProductVal<A> where
A: Sync,
impl<A> Unpin for ProductVal<A> where
A: Unpin,
impl<A> UnwindSafe for ProductVal<A> where
A: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.