Struct rustc_hir::hir::FieldDef [−][src]
pub struct FieldDef<'hir> {
pub span: Span,
pub ident: Ident,
pub vis: Visibility<'hir>,
pub hir_id: HirId,
pub ty: &'hir Ty<'hir>,
}
Fields
span: Span
ident: Ident
vis: Visibility<'hir>
hir_id: HirId
ty: &'hir Ty<'hir>
Implementations
Trait Implementations
Auto Trait Implementations
impl<'hir> RefUnwindSafe for FieldDef<'hir>
impl<'hir> UnwindSafe for FieldDef<'hir>
Blanket Implementations
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: 72 bytes