Trait BoundVarLike

Source
pub trait BoundVarLike<I>:
    Copy
    + Debug
    + Hash
    + Eq
where I: Interner,
{ // Required methods fn var(self) -> BoundVar; fn assert_eq(self, var: <I as Interner>::BoundVarKind); }

Required Methods§

Source

fn var(self) -> BoundVar

Source

fn assert_eq(self, var: <I as Interner>::BoundVarKind)

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> BoundVarLike<TyCtxt<'tcx>> for BoundRegion

Source§

impl<'tcx> BoundVarLike<TyCtxt<'tcx>> for BoundTy

Implementors§

Source§

impl<I> BoundVarLike<I> for BoundVar
where I: Interner,