Struct rustc_mir_dataflow::framework::fmt::DebugDiffWithAdapter
source · pub struct DebugDiffWithAdapter<'a, T, C> {
pub new: T,
pub old: T,
pub ctxt: &'a C,
}
Expand description
Implements fmt::Debug
by deferring to <T as DebugWithContext<C>>::fmt_diff_with
.
Fields§
§new: T
§old: T
§ctxt: &'a C
Trait Implementations§
Auto Trait Implementations§
impl<'a, T, C> RefUnwindSafe for DebugDiffWithAdapter<'a, T, C>where C: RefUnwindSafe, T: RefUnwindSafe,
impl<'a, T, C> Send for DebugDiffWithAdapter<'a, T, C>where C: Sync, T: Send,
impl<'a, T, C> Sync for DebugDiffWithAdapter<'a, T, C>where C: Sync, T: Sync,
impl<'a, T, C> Unpin for DebugDiffWithAdapter<'a, T, C>where T: Unpin,
impl<'a, T, C> UnwindSafe for DebugDiffWithAdapter<'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.