Struct curry::Curry [−][src]
pub struct Curry<F>(pub F);
Trait Implementations
impl<F: Debug> Debug for Curry<F>
[src]
impl<F: Debug> Debug for Curry<F>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<F: Clone> Clone for Curry<F>
[src]
impl<F: Clone> Clone for Curry<F>
fn clone(&self) -> Curry<F>
[src]
fn clone(&self) -> Curry<F>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl<F: Copy> Copy for Curry<F>
[src]
impl<F: Copy> Copy for Curry<F>
impl<F: PartialEq> PartialEq for Curry<F>
[src]
impl<F: PartialEq> PartialEq for Curry<F>
fn eq(&self, other: &Curry<F>) -> bool
[src]
fn eq(&self, other: &Curry<F>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Curry<F>) -> bool
[src]
fn ne(&self, other: &Curry<F>) -> bool
This method tests for !=
.
impl<F: Eq> Eq for Curry<F>
[src]
impl<F: Eq> Eq for Curry<F>
impl<F: PartialOrd> PartialOrd for Curry<F>
[src]
impl<F: PartialOrd> PartialOrd for Curry<F>
fn partial_cmp(&self, other: &Curry<F>) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &Curry<F>) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, other: &Curry<F>) -> bool
[src]
fn lt(&self, other: &Curry<F>) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, other: &Curry<F>) -> bool
[src]
fn le(&self, other: &Curry<F>) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, other: &Curry<F>) -> bool
[src]
fn gt(&self, other: &Curry<F>) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, other: &Curry<F>) -> bool
[src]
fn ge(&self, other: &Curry<F>) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl<F: Ord> Ord for Curry<F>
[src]
impl<F: Ord> Ord for Curry<F>
fn cmp(&self, other: &Curry<F>) -> Ordering
[src]
fn cmp(&self, other: &Curry<F>) -> Ordering
This method returns an Ordering
between self
and other
. Read more
fn max(self, other: Self) -> Self
1.21.0[src]
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
impl<F: Hash> Hash for Curry<F>
[src]
impl<F: Hash> Hash for Curry<F>
fn hash<__HF: Hasher>(&self, state: &mut __HF)
[src]
fn hash<__HF: Hasher>(&self, state: &mut __HF)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl<A, F: FnOnce<A>> FnOnce<(A,)> for Curry<F>
[src]
impl<A, F: FnOnce<A>> FnOnce<(A,)> for Curry<F>
type Output = F::Output
The returned type after the call operator is used.
extern "rust-call" fn call_once(self, (a): (A,)) -> Self::Output
[src]
extern "rust-call" fn call_once(self, (a): (A,)) -> Self::Output
fn_traits
)Performs the call operation.
impl<A, F: FnMut<A>> FnMut<(A,)> for Curry<F>
[src]
impl<A, F: FnMut<A>> FnMut<(A,)> for Curry<F>
extern "rust-call" fn call_mut(&mut self, (a): (A,)) -> Self::Output
[src]
extern "rust-call" fn call_mut(&mut self, (a): (A,)) -> Self::Output
fn_traits
)Performs the call operation.
impl<A, F: Fn<A>> Fn<(A,)> for Curry<F>
[src]
impl<A, F: Fn<A>> Fn<(A,)> for Curry<F>