Skip to main content

PatternKind

Type Alias PatternKind 

Source
pub type PatternKind<'tcx> = PatternKind<TyCtxt<'tcx>>;

Aliased Type§

pub enum PatternKind<'tcx> {
    Range {
        start: Const<TyCtxt<'tcx>>,
        end: Const<TyCtxt<'tcx>>,
    },
    Or(&'tcx RawList<(), Pattern<'tcx>>),
    NotNull,
}

Variants§

§

Range

Fields

§start: Const<TyCtxt<'tcx>>
§end: Const<TyCtxt<'tcx>>
§

Or(&'tcx RawList<(), Pattern<'tcx>>)

§

NotNull

Layout§

Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.