Enum rustc_codegen_llvm::debuginfo::metadata::RecursiveTypeDescription[][src]

enum RecursiveTypeDescription<'ll, 'tcx> {
    UnfinishedMetadata {
        unfinished_type: Ty<'tcx>,
        unique_type_id: UniqueTypeId,
        metadata_stub: &'ll DICompositeType,
        member_holding_stub: &'ll DICompositeType,
        member_description_factory: MemberDescriptionFactory<'ll, 'tcx>,
    },
    FinalMetadata(&'ll DICompositeType),
}
Expand description

A description of some recursive type. It can either be already finished (as with FinalMetadata) or it is not yet finished, but contains all information needed to generate the missing parts of the description. See the documentation section on Recursive Types at the top of this file for more information.

Variants

UnfinishedMetadata

Fields of UnfinishedMetadata

unfinished_type: Ty<'tcx>unique_type_id: UniqueTypeIdmetadata_stub: &'ll DICompositeTypemember_holding_stub: &'ll DICompositeTypemember_description_factory: MemberDescriptionFactory<'ll, 'tcx>
FinalMetadata(&'ll DICompositeType)

Tuple Fields of FinalMetadata

0: &'ll DICompositeType

Implementations

Finishes up the description of the type in question (mostly by providing descriptions of the fields of the given type) and returns the final type metadata.

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.

Layout

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.

Size: 104 bytes

Size for each variant: