Struct chalk_ir::debug::SubstitutionDebug
source · [−]pub struct SubstitutionDebug<'a, I: Interner> {
substitution: &'a Substitution<I>,
interner: I,
}
Expand description
Helper struct for showing debug output for substitutions.
Fields
substitution: &'a Substitution<I>
interner: I
Trait Implementations
Auto Trait Implementations
impl<'a, I> RefUnwindSafe for SubstitutionDebug<'a, I>where
I: RefUnwindSafe,
<I as Interner>::InternedSubstitution: RefUnwindSafe,
impl<'a, I> Send for SubstitutionDebug<'a, I>where
I: Send,
<I as Interner>::InternedSubstitution: Sync,
impl<'a, I> Sync for SubstitutionDebug<'a, I>where
I: Sync,
<I as Interner>::InternedSubstitution: Sync,
impl<'a, I> Unpin for SubstitutionDebug<'a, I>where
I: Unpin,
impl<'a, I> UnwindSafe for SubstitutionDebug<'a, I>where
I: UnwindSafe,
<I as Interner>::InternedSubstitution: RefUnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Cast for T
impl<T> Cast for T
sourcefn cast<U>(self, interner: U::Interner) -> Uwhere
Self: CastTo<U>,
U: HasInterner,
fn cast<U>(self, interner: U::Interner) -> Uwhere
Self: CastTo<U>,
U: HasInterner,
Cast a value to type
U
using CastTo
.