Enum planus_cli::codegen::backend::ResolvedType[][src]

pub enum ResolvedType<'a, B: ?Sized + Backend> {
    Struct(&'a Struct, &'a B::StructInfoRelativeNamespace<'a, B>),
    Table(&'a Table, &'a B::TableInfoRelativeNamespace<'a, B>),
    Enum(&'a Enum, &'a B::EnumInfoRelativeNamespace<'a, B>, &'a [B::EnumVariantInfo]),
    Union(&'a Union, &'a B::UnionInfoRelativeNamespace<'a, B>),
    Vector(Box<ResolvedType<'a, B>>),
    Array(Box<ResolvedType<'a, B>>, u32),
    String,
    Bool,
    Integer(IntegerType),
    Float(FloatType),
}

Variants

Struct(&'a Struct, &'a B::StructInfoRelativeNamespace<'a, B>)

Tuple Fields

0: &'a Struct
1: &'a B::StructInfo

Table(&'a Table, &'a B::TableInfoRelativeNamespace<'a, B>)

Tuple Fields

0: &'a Table
1: &'a B::TableInfo

Enum(&'a Enum, &'a B::EnumInfoRelativeNamespace<'a, B>, &'a [B::EnumVariantInfo])

Tuple Fields

0: &'a Enum
1: &'a B::EnumInfo

Union(&'a Union, &'a B::UnionInfoRelativeNamespace<'a, B>)

Tuple Fields

0: &'a Union
1: &'a B::UnionInfo

Vector(Box<ResolvedType<'a, B>>)

Tuple Fields

0: Box<ResolvedType<'a, B>>

Array(Box<ResolvedType<'a, B>>, u32)

Tuple Fields

0: Box<ResolvedType<'a, B>>
1: u32

String

Bool

Integer(IntegerType)

Tuple Fields

Float(FloatType)

Tuple Fields

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.