Enum rustc_mir_build::thir::pattern::deconstruct_pat::FilteredField [−][src]
pub(super) enum FilteredField<'p, 'tcx> {
Kept(&'p Pat<'tcx>),
Hidden,
}Expand description
Some fields need to be explicitly hidden away in certain cases; see the comment above the
Fields struct. This struct represents such a potentially-hidden field.
Variants
Tuple Fields of Kept
0: &'p Pat<'tcx>Implementations
Trait Implementations
Auto Trait Implementations
impl<'p, 'tcx> !RefUnwindSafe for FilteredField<'p, 'tcx>
impl<'p, 'tcx> !Send for FilteredField<'p, 'tcx>
impl<'p, 'tcx> !Sync for FilteredField<'p, 'tcx>
impl<'p, 'tcx> Unpin for FilteredField<'p, 'tcx> where
'tcx: 'p,
impl<'p, 'tcx> !UnwindSafe for FilteredField<'p, 'tcx>
Blanket Implementations
Mutably borrows from an owned value. Read more
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: 8 bytes