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

pub enum TyArgCtor<'a> {

Type argument constructor.



Constant constructor.


Endianness constructor.


Type instance constructor.


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>, 

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

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

impl<T> BorrowMut<T> for T where
    T: ?Sized

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