Struct chalk_ir::debug::CanonicalDisplay
source · pub struct CanonicalDisplay<'a, T: HasInterner> {
canonical: &'a Canonical<T>,
interner: T::Interner,
}
Expand description
Helper struct for displaying canonicalized items.
Fields§
§canonical: &'a Canonical<T>
§interner: T::Interner
Trait Implementations§
Auto Trait Implementations§
impl<'a, T> Freeze for CanonicalDisplay<'a, T>
impl<'a, T> RefUnwindSafe for CanonicalDisplay<'a, T>where
<T as HasInterner>::Interner: RefUnwindSafe,
T: RefUnwindSafe,
<<T as HasInterner>::Interner as Interner>::InternedCanonicalVarKinds: RefUnwindSafe,
impl<'a, T> Send for CanonicalDisplay<'a, T>where
<T as HasInterner>::Interner: Send,
T: Sync,
<<T as HasInterner>::Interner as Interner>::InternedCanonicalVarKinds: Sync,
impl<'a, T> Sync for CanonicalDisplay<'a, T>where
<T as HasInterner>::Interner: Sync,
T: Sync,
<<T as HasInterner>::Interner as Interner>::InternedCanonicalVarKinds: Sync,
impl<'a, T> Unpin for CanonicalDisplay<'a, T>
impl<'a, T> UnwindSafe for CanonicalDisplay<'a, T>where
<T as HasInterner>::Interner: UnwindSafe,
T: RefUnwindSafe,
<<T as HasInterner>::Interner as Interner>::InternedCanonicalVarKinds: RefUnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more