[][src]Enum gf::datamodel::TyArgCtor

pub enum TyArgCtor<'a> {
    Const(BoundExpr),
    Endianness(EndiannessCtor),
    TyInstance(TyInstanceCtor<'a>),
}

Type argument constructor.

Variants

Const(BoundExpr)

Constant constructor.

Endianness(EndiannessCtor)

Endianness constructor.

TyInstance(TyInstanceCtor<'a>)

Type instance constructor.

Methods

impl<'a> TyArgCtor<'a>[src]

pub fn from_ty_arg_value(value: TyArgValue<'a>) -> Self[src]

Create a constructor from a type argument value.

pub fn kind(&self) -> TyArgKind[src]

Return argument kind.

Trait Implementations

impl<'a> Eval<'a> for TyArgCtor<'a>[src]

type Output = TyArgValue<'a>

Evaluation output type.

impl<'a> Clone for TyArgCtor<'a>[src]

Auto Trait Implementations

impl<'a> Send for TyArgCtor<'a>

impl<'a> Sync for TyArgCtor<'a>

impl<'a> Unpin for TyArgCtor<'a>

impl<'a> UnwindSafe for TyArgCtor<'a>

impl<'a> RefUnwindSafe for TyArgCtor<'a>

Blanket Implementations

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

impl<T> From<T> for 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.

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

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

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