Struct rustc_middle::ty::FieldDef [−][src]
pub struct FieldDef {
pub did: DefId,
pub ident: Ident,
pub vis: Visibility,
}Fields
did: DefIdident: Identvis: VisibilityImplementations
fn uninhabited_from(
&self,
tcx: TyCtxt<'tcx>,
substs: SubstsRef<'tcx>,
is_enum: bool,
param_env: ParamEnv<'tcx>
) -> DefIdForest
fn uninhabited_from(
&self,
tcx: TyCtxt<'tcx>,
substs: SubstsRef<'tcx>,
is_enum: bool,
param_env: ParamEnv<'tcx>
) -> DefIdForestCalculates the forest of DefIds from which this field is visibly uninhabited.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for FieldDefimpl UnwindSafe for FieldDefBlanket Implementations
Layout
Note: Most layout information is completely unstable and may be different between compiler versions and platforms. 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: 28 bytes