[][src]Enum rust_fp_pfds::List

pub enum List<A> {
    Nil,
    Cons {
        head: A,
        tail: Rc<List<A>>,
    },
}

Variants

Nil
Cons

Fields of Cons

head: Atail: Rc<List<A>>

Implementations

impl<A: Clone> List<A>[src]

pub fn drop(self, n: u32) -> Self[src]

pub fn reverse(&self) -> Self[src]

Trait Implementations

impl<A> Applicative for List<A>[src]

impl<A> Apply for List<A>[src]

type Elm = A

type M = List<U>

impl<A: Clone> Bind for List<A>[src]

type Elm = A

type M = List<U>

impl<A: Clone> Clone for List<A>[src]

impl<A: Debug> Debug for List<A>[src]

impl<A> Empty for List<A>[src]

impl<A: Eq> Eq for List<A>[src]

impl<A: Clone> Foldable for List<A>[src]

type Elm = A

impl<A: Clone> From<Vec<A, Global>> for List<A>[src]

impl<A: Clone> Functor for List<A>[src]

type Elm = A

type M = List<U>

impl<A: Clone> Into<Vec<A, Global>> for List<A>[src]

impl<A: Clone> Monad for List<A>[src]

impl<A> Monoid for List<A>[src]

impl<A: PartialEq> PartialEq<List<A>> for List<A>[src]

impl<A> Pure for List<A>[src]

type Elm = A

type M = List<U>

impl<A> Semigroup for List<A>[src]

impl<A> Stack<A> for List<A>[src]

impl<A> StructuralEq for List<A>[src]

impl<A> StructuralPartialEq for List<A>[src]

Auto Trait Implementations

impl<A> !RefUnwindSafe for List<A>

impl<A> !Send for List<A>

impl<A> !Sync for List<A>

impl<A> Unpin for List<A> where
    A: Unpin

impl<A> !UnwindSafe for List<A>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.