Struct hetseq::List
[−]
[src]
pub struct List<L>(pub L);
Methods
impl List<()>
[src]
impl<L> List<L>
[src]
impl<H, T> List<(H, List<T>)>
[src]
Trait Implementations
impl<I, F> Fold<I, F> for List<()>
[src]
fn fold(self, init: I, _: F) -> I
impl<I, X, H, T> Fold<I, X> for List<(H, List<T>)> where
List<T>: Fold<I, X>,
X: Fn<(H, I), Output = I>,
[src]
List<T>: Fold<I, X>,
X: Fn<(H, I), Output = I>,
fn fold(self, init: I, f: X) -> I
impl<F> Functor<F> for List<()>
[src]
impl<X, H, T, O, U> Functor<X> for List<(H, List<T>)> where
List<T>: Functor<X, Output = List<U>>,
X: Fn<(H,), Output = O>,
[src]
List<T>: Functor<X, Output = List<U>>,
X: Fn<(H,), Output = O>,
impl<L: Clone> Clone for List<L>
[src]
fn clone(&self) -> List<L>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl<L: Copy> Copy for List<L>
[src]
impl<L: Debug> Debug for List<L>
[src]
impl<L: PartialEq> PartialEq for List<L>
[src]
fn eq(&self, __arg_0: &List<L>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &List<L>) -> bool
This method tests for !=
.
impl<L: PartialOrd> PartialOrd for List<L>
[src]
fn partial_cmp(&self, __arg_0: &List<L>) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, __arg_0: &List<L>) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, __arg_0: &List<L>) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, __arg_0: &List<L>) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, __arg_0: &List<L>) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl<L: Eq> Eq for List<L>
[src]
impl<L: Ord> Ord for List<L>
[src]
fn cmp(&self, __arg_0: &List<L>) -> Ordering
This method returns an Ordering
between self
and other
. Read more
fn max(self, other: Self) -> Self
ord_max_min
)Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
ord_max_min
)Compares and returns the minimum of two values. Read more