Struct rustc_codegen_llvm::debuginfo::metadata::EnumMemberDescriptionFactory [−][src]
struct EnumMemberDescriptionFactory<'ll, 'tcx> {
enum_type: Ty<'tcx>,
layout: TyAndLayout<'tcx>,
tag_type_metadata: Option<&'ll DIType>,
containing_scope: &'ll DIScope,
common_members: Vec<Option<&'ll DIType>>,
span: Span,
}Expand description
Describes the members of an enum value; an enum is described as a union of
structs in DWARF. This MemberDescriptionFactory provides the description for
the members of this union; so for every variant of the given enum, this
factory will produce one MemberDescription (all with no name and a fixed
offset of zero bytes).
Fields
enum_type: Ty<'tcx>layout: TyAndLayout<'tcx>tag_type_metadata: Option<&'ll DIType>containing_scope: &'ll DIScopecommon_members: Vec<Option<&'ll DIType>>span: SpanImplementations
impl<'ll, 'tcx> EnumMemberDescriptionFactory<'ll, 'tcx>[src]
impl<'ll, 'tcx> EnumMemberDescriptionFactory<'ll, 'tcx>[src]fn create_member_descriptions(
&self,
cx: &CodegenCx<'ll, 'tcx>
) -> Vec<MemberDescription<'ll>>[src]
&self,
cx: &CodegenCx<'ll, 'tcx>
) -> Vec<MemberDescription<'ll>>