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

pub(in debuginfo::metadata) 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),
}

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)

Implementations

impl<'ll, 'tcx> RecursiveTypeDescription<'ll, 'tcx>[src]

pub(in debuginfo::metadata) fn finalize(
    &self,
    cx: &CodegenCx<'ll, 'tcx>
) -> MetadataCreationResult<'ll>
[src]

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

impl<'ll, 'tcx> !RefUnwindSafe for RecursiveTypeDescription<'ll, 'tcx>

impl<'ll, 'tcx> !Send for RecursiveTypeDescription<'ll, 'tcx>

impl<'ll, 'tcx> !Sync for RecursiveTypeDescription<'ll, 'tcx>

impl<'ll, 'tcx> Unpin for RecursiveTypeDescription<'ll, 'tcx>

impl<'ll, 'tcx> !UnwindSafe for RecursiveTypeDescription<'ll, 'tcx>

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