Struct chalk_ir::debug::ProjectionTyDebug
source · [−]pub struct ProjectionTyDebug<'a, I: Interner> {
projection_ty: &'a ProjectionTy<I>,
interner: I,
}
Expand description
Helper struct for showing debug output for projection types.
Fields
projection_ty: &'a ProjectionTy<I>
interner: I
Trait Implementations
Auto Trait Implementations
impl<'a, I> RefUnwindSafe for ProjectionTyDebug<'a, I>where
I: RefUnwindSafe,
<I as Interner>::DefId: RefUnwindSafe,
<I as Interner>::InternedSubstitution: RefUnwindSafe,
impl<'a, I> Send for ProjectionTyDebug<'a, I>where
I: Send,
<I as Interner>::DefId: Sync,
<I as Interner>::InternedSubstitution: Sync,
impl<'a, I> Sync for ProjectionTyDebug<'a, I>where
I: Sync,
<I as Interner>::DefId: Sync,
<I as Interner>::InternedSubstitution: Sync,
impl<'a, I> Unpin for ProjectionTyDebug<'a, I>where
I: Unpin,
impl<'a, I> UnwindSafe for ProjectionTyDebug<'a, I>where
I: UnwindSafe,
<I as Interner>::DefId: RefUnwindSafe,
<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
.