[][src]Enum ni::nil::Ty

pub enum Ty<'t> {
    OpType(OpType),
    Layout(usize),
    Array(&'t Ty<'t>, UWord),
    Indirect(&'t Ty<'t>),
    Function,
}

Variants

OpType(OpType)
Layout(usize)
Array(&'t Ty<'t>, UWord)
Indirect(&'t Ty<'t>)
Function

Implementations

impl<'t> Ty<'t>[src]

pub fn len(&self) -> UWord[src]

pub fn size(&self, layouts: &[Layout]) -> UWord[src]

Trait Implementations

impl<'t> Clone for Ty<'t>[src]

impl<'t> Copy for Ty<'t>[src]

impl<'t> Debug for Ty<'t>[src]

Auto Trait Implementations

impl<'t> RefUnwindSafe for Ty<'t>

impl<'t> Send for Ty<'t>

impl<'t> Sync for Ty<'t>

impl<'t> Unpin for Ty<'t>

impl<'t> UnwindSafe for Ty<'t>

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.