Trait rustc_type_ir::inherent::Abi

source ·
pub trait Abi<I: Interner<Abi = Self>>: Copy + Debug + Hash + Eq + Relate<I> {
    // Required methods
    fn rust() -> Self;
    fn is_rust(self) -> bool;
}

Required Methods§

source

fn rust() -> Self

source

fn is_rust(self) -> bool

Whether this ABI is extern "Rust".

Object Safety§

This trait is not object safe.

Implementors§