Struct rustc_mir_dataflow::fmt::DebugWithAdapter
source · pub struct DebugWithAdapter<'a, T, C> {
pub this: T,
pub ctxt: &'a C,
}
Expand description
Implements fmt::Debug
by deferring to <T as DebugWithContext<C>>::fmt_with
.
Fields§
§this: T
§ctxt: &'a C
Trait Implementations§
Auto Trait Implementations§
impl<'a, T, C> RefUnwindSafe for DebugWithAdapter<'a, T, C>where C: RefUnwindSafe, T: RefUnwindSafe,
impl<'a, T, C> Send for DebugWithAdapter<'a, T, C>where C: Sync, T: Send,
impl<'a, T, C> Sync for DebugWithAdapter<'a, T, C>where C: Sync, T: Sync,
impl<'a, T, C> Unpin for DebugWithAdapter<'a, T, C>where T: Unpin,
impl<'a, T, C> UnwindSafe for DebugWithAdapter<'a, T, C>where C: RefUnwindSafe, T: UnwindSafe,
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
Layout§
Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.