[][src]Struct chalk_solve::display::InvertedBoundVar

pub struct InvertedBoundVar { /* fields omitted */ }

Like a BoundVar, but with the debrujin index inverted so as to create a canonical name we can use anywhere for each bound variable.

In BoundVar, the innermost bound variables have debrujin index 0, and each further out BoundVar has a debrujin index 1 higher.

In InvertedBoundVar, the outermost variables have inverted_debrujin_idx 0, and the innermost have their depth, not the other way around.

Trait Implementations

impl Clone for InvertedBoundVar[src]

impl Copy for InvertedBoundVar[src]

impl Debug for InvertedBoundVar[src]

impl Display for InvertedBoundVar[src]

impl Eq for InvertedBoundVar[src]

impl Ord for InvertedBoundVar[src]

impl PartialEq<InvertedBoundVar> for InvertedBoundVar[src]

impl PartialOrd<InvertedBoundVar> for InvertedBoundVar[src]

impl StructuralEq for InvertedBoundVar[src]

impl StructuralPartialEq for InvertedBoundVar[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Cast for T[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.