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§
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.