rustc_trait_selection::infer::canonical::ir::inherent

Trait ExprConst

source
pub trait ExprConst<I>:
    Copy
    + Debug
    + Hash
    + Eq
    + Relate<I>
where I: Interner<ExprConst = Self>,
{ // Required method fn args(self) -> <I as Interner>::GenericArgs; }

Required Methods§

source

fn args(self) -> <I as Interner>::GenericArgs

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<'tcx> ExprConst<TyCtxt<'tcx>> for Expr<'tcx>

source§

fn args(self) -> &'tcx RawList<(), GenericArg<'tcx>>

Implementors§