[][src]Enum mlsub::polar::Ty

pub enum Ty<C, V> {
    Zero,
    Add(Box<Ty<C, V>>, Box<Ty<C, V>>),
    UnboundVar(V),
    BoundVar(usize),
    Constructed(C),
    Recursive(Box<Ty<C, V>>),
}

Variants

Zero
Add(Box<Ty<C, V>>, Box<Ty<C, V>>)
UnboundVar(V)
BoundVar(usize)
Constructed(C)
Recursive(Box<Ty<C, V>>)

Trait Implementations

impl<C: Clone, V: Clone> Clone for Ty<C, V>[src]

impl<C: Debug, V: Debug> Debug for Ty<C, V>[src]

impl<C: Eq, V: Eq> Eq for Ty<C, V>[src]

impl<C: Hash, V: Hash> Hash for Ty<C, V>[src]

impl<C: PartialEq, V: PartialEq> PartialEq<Ty<C, V>> for Ty<C, V>[src]

impl<C, V> StructuralEq for Ty<C, V>[src]

impl<C, V> StructuralPartialEq for Ty<C, V>[src]

Auto Trait Implementations

impl<C, V> RefUnwindSafe for Ty<C, V> where
    C: RefUnwindSafe,
    V: RefUnwindSafe

impl<C, V> Send for Ty<C, V> where
    C: Send,
    V: Send

impl<C, V> Sync for Ty<C, V> where
    C: Sync,
    V: Sync

impl<C, V> Unpin for Ty<C, V> where
    C: Unpin,
    V: Unpin

impl<C, V> UnwindSafe for Ty<C, V> where
    C: UnwindSafe,
    V: 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> Same<T> for T

type Output = T

Should always be Self

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.