struct StructMemberDescriptionFactory<'tcx> {
ty: Ty<'tcx>,
variant: &'tcx VariantDef,
}Expand description
Creates MemberDescriptions for the fields of a struct.
Fields
ty: Ty<'tcx>variant: &'tcx VariantDefImplementations
sourceimpl<'tcx> StructMemberDescriptionFactory<'tcx>
impl<'tcx> StructMemberDescriptionFactory<'tcx>
fn create_member_descriptions<'ll>(
&self,
cx: &CodegenCx<'ll, 'tcx>
) -> Vec<MemberDescription<'ll>>
Auto Trait Implementations
impl<'tcx> !RefUnwindSafe for StructMemberDescriptionFactory<'tcx>
impl<'tcx> Send for StructMemberDescriptionFactory<'tcx>
impl<'tcx> Sync for StructMemberDescriptionFactory<'tcx>
impl<'tcx> Unpin for StructMemberDescriptionFactory<'tcx>
impl<'tcx> !UnwindSafe for StructMemberDescriptionFactory<'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: 16 bytes