Trait rustc_middle::ty::inherent::Abi

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

Required Methods§

source

fn is_rust(self) -> bool

Whether this ABI is extern "Rust".

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<'tcx> Abi<TyCtxt<'tcx>> for Abi

source§

fn is_rust(self) -> bool

Implementors§