[][src]Enum bmx::TypeExpr

pub enum TypeExpr<I, A> {
    U(A, A),
    I(A, A),
    ArrayN(A, Box<TypeExpr<I, A>>),
    ArrayV(Box<TypeExpr<I, A>>),
    App(NodeApp<I, A>),
}

Variants

U(A, A)
I(A, A)
ArrayN(A, Box<TypeExpr<I, A>>)
ArrayV(Box<TypeExpr<I, A>>)
App(NodeApp<I, A>)

Implementations

impl<I, A> TypeExpr<I, A>[src]

pub fn ident(ident: I) -> Self[src]

pub fn app(ident: I, args: impl IntoIterator<Item = A>) -> Self[src]

Trait Implementations

impl<I: Clone, A: Clone> Clone for TypeExpr<I, A>[src]

impl<I: Debug, A: Debug> Debug for TypeExpr<I, A>[src]

impl<I, A> Display for TypeExpr<I, A> where
    I: Display,
    A: Display
[src]

Auto Trait Implementations

impl<I, A> RefUnwindSafe for TypeExpr<I, A> where
    A: RefUnwindSafe,
    I: RefUnwindSafe

impl<I, A> Send for TypeExpr<I, A> where
    A: Send,
    I: Send

impl<I, A> Sync for TypeExpr<I, A> where
    A: Sync,
    I: Sync

impl<I, A> Unpin for TypeExpr<I, A> where
    A: Unpin,
    I: Unpin

impl<I, A> UnwindSafe for TypeExpr<I, A> where
    A: UnwindSafe,
    I: UnwindSafe

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> ToString for T where
    T: Display + ?Sized
[src]

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.