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

Trait ExprConst

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§

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

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so 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§