# Trait rustc_type_ir::inherent::BoundVarLike

source ·

    pub trait BoundVarLike<I: Interner> {
        // Required methods
        fn var(self) -> BoundVar;
        fn assert_eq(self, var: I::BoundVarKind);
    }

## Required Methods§

source

#### fn var(self) -> BoundVar

source

#### fn assert_eq(self, var: I::BoundVarKind)

## Implementors§

source§

### impl<I: Interner> BoundVarLike<I> for BoundVar