enum MemberDescriptionFactory<'ll, 'tcx> {
StructMDF(StructMemberDescriptionFactory<'tcx>),
TupleMDF(TupleMemberDescriptionFactory<'tcx>),
EnumMDF(EnumMemberDescriptionFactory<'ll, 'tcx>),
UnionMDF(UnionMemberDescriptionFactory<'tcx>),
VariantMDF(VariantMemberDescriptionFactory<'tcx>),
}Expand description
A factory for MemberDescriptions. It produces a list of member descriptions
for some record-like type. MemberDescriptionFactorys are used to defer the
creation of type member descriptions in order to break cycles arising from
recursive type definitions.
Variants
StructMDF(StructMemberDescriptionFactory<'tcx>)
TupleMDF(TupleMemberDescriptionFactory<'tcx>)
EnumMDF(EnumMemberDescriptionFactory<'ll, 'tcx>)
UnionMDF(UnionMemberDescriptionFactory<'tcx>)
VariantMDF(VariantMemberDescriptionFactory<'tcx>)
Implementations
sourceimpl<'ll, 'tcx> MemberDescriptionFactory<'ll, 'tcx>
impl<'ll, 'tcx> MemberDescriptionFactory<'ll, 'tcx>
fn create_member_descriptions(
&self,
cx: &CodegenCx<'ll, 'tcx>
) -> Vec<MemberDescription<'ll>>
Auto Trait Implementations
impl<'ll, 'tcx> !RefUnwindSafe for MemberDescriptionFactory<'ll, 'tcx>
impl<'ll, 'tcx> !Send for MemberDescriptionFactory<'ll, 'tcx>
impl<'ll, 'tcx> !Sync for MemberDescriptionFactory<'ll, 'tcx>
impl<'ll, 'tcx> Unpin for MemberDescriptionFactory<'ll, 'tcx>
impl<'ll, 'tcx> !UnwindSafe for MemberDescriptionFactory<'ll, 'tcx>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
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: 64 bytes
Size for each variant:
StructMDF: 16 bytesTupleMDF: 32 bytesEnumMDF: 56 bytesUnionMDF: 24 bytesVariantMDF: 48 bytes