Struct rustc_mir_transform::simplify_try::VarField
source · [−]struct VarField<'tcx> {
field: Field,
field_ty: Ty<'tcx>,
var_idx: VariantIdx,
}Fields
field: Fieldfield_ty: Ty<'tcx>var_idx: VariantIdxTrait Implementations
impl<'tcx> StructuralPartialEq for VarField<'tcx>
Auto Trait Implementations
impl<'tcx> !RefUnwindSafe for VarField<'tcx>
impl<'tcx> Send for VarField<'tcx>
impl<'tcx> Sync for VarField<'tcx>
impl<'tcx> Unpin for VarField<'tcx>
impl<'tcx> !UnwindSafe for VarField<'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