[−][src]Struct chalk_solve::display::InvertedBoundVar
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]
fn clone(&self) -> InvertedBoundVar
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[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]
fn cmp(&self, other: &InvertedBoundVar) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<InvertedBoundVar> for InvertedBoundVar
[src]
fn eq(&self, other: &InvertedBoundVar) -> bool
[src]
fn ne(&self, other: &InvertedBoundVar) -> bool
[src]
impl PartialOrd<InvertedBoundVar> for InvertedBoundVar
[src]
fn partial_cmp(&self, other: &InvertedBoundVar) -> Option<Ordering>
[src]
fn lt(&self, other: &InvertedBoundVar) -> bool
[src]
fn le(&self, other: &InvertedBoundVar) -> bool
[src]
fn gt(&self, other: &InvertedBoundVar) -> bool
[src]
fn ge(&self, other: &InvertedBoundVar) -> bool
[src]
impl StructuralEq for InvertedBoundVar
[src]
impl StructuralPartialEq for InvertedBoundVar
[src]
Auto Trait Implementations
impl RefUnwindSafe for InvertedBoundVar
impl Send for InvertedBoundVar
impl Sync for InvertedBoundVar
impl Unpin for InvertedBoundVar
impl UnwindSafe for InvertedBoundVar
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Cast for T
[src]
fn cast<U>(self, interner: &<U as HasInterner>::Interner) -> U where
Self: CastTo<U>,
U: HasInterner,
[src]
Self: CastTo<U>,
U: HasInterner,
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
pub fn equivalent(&self, key: &K) -> bool
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,