rustc_type_ir::inherent

Trait ExprConst

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

Required Methods§

source

fn args(self) -> I::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.

Implementors§