[][src]Enum ddbug_parser::TypeKind

pub enum TypeKind<'input> {
    Void,
    Base(BaseType<'input>),
    Def(TypeDef<'input>),
    Struct(StructType<'input>),
    Union(UnionType<'input>),
    Enumeration(EnumerationType<'input>),
    Array(ArrayType<'input>),
    Function(FunctionType<'input>),
    Unspecified(UnspecifiedType<'input>),
    PointerToMember(PointerToMemberType),
    Modifier(TypeModifier<'input>),
    Subrange(SubrangeType<'input>),
}

The kind of a type.

Variants

Void

The void type.

Base(BaseType<'input>)

A base type.

Def(TypeDef<'input>)

A type alias definition.

Struct(StructType<'input>)

A struct type.

Union(UnionType<'input>)

A union type.

Enumeration(EnumerationType<'input>)

An enumeration type.

Array(ArrayType<'input>)

A type for an array of elements.

Function(FunctionType<'input>)

A function type.

Unspecified(UnspecifiedType<'input>)

An unspecified type.

PointerToMember(PointerToMemberType)

The type of a pointer to a member.

Modifier(TypeModifier<'input>)

A type that is obtained by adding a modifier to another type.

Subrange(SubrangeType<'input>)

A subrange of another type.

Trait Implementations

impl<'input> Clone for TypeKind<'input>[src]

impl<'input> Debug for TypeKind<'input>[src]

Auto Trait Implementations

impl<'input> !RefUnwindSafe for TypeKind<'input>[src]

impl<'input> !Send for TypeKind<'input>[src]

impl<'input> !Sync for TypeKind<'input>[src]

impl<'input> Unpin for TypeKind<'input>[src]

impl<'input> !UnwindSafe for TypeKind<'input>[src]

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.