[−][src]Trait rustc_mir::dataflow::fmt::DebugWithContext
An extension to fmt::Debug for data that can be better printed with some auxiliary data C.
Provided methods
pub fn fmt_with(&self, _ctxt: &C, f: &mut Formatter<'_>) -> Result[src]
pub fn fmt_diff_with(
&self,
old: &Self,
ctxt: &C,
f: &mut Formatter<'_>
) -> Result[src]
&self,
old: &Self,
ctxt: &C,
f: &mut Formatter<'_>
) -> Result
Print the difference between self and old.
This should print nothing if self == old.
+ and - are typically used to indicate differences. However, these characters are
fairly common and may be needed to print a types representation. If using them to indicate
a diff, prefix them with the "Unit Separator" control character (␟ U+001F).
Implementations on Foreign Types
impl<T, C> DebugWithContext<C> for BitSet<T> where
T: Idx + DebugWithContext<C>, [src]
T: Idx + DebugWithContext<C>,
pub fn fmt_with(&self, ctxt: &C, f: &mut Formatter<'_>) -> Result[src]
pub fn fmt_diff_with(
&self,
old: &Self,
ctxt: &C,
f: &mut Formatter<'_>
) -> Result[src]
&self,
old: &Self,
ctxt: &C,
f: &mut Formatter<'_>
) -> Result
impl<T, C, '_> DebugWithContext<C> for &'_ T where
T: DebugWithContext<C>, [src]
T: DebugWithContext<C>,
pub fn fmt_with(&self, ctxt: &C, f: &mut Formatter<'_>) -> Result[src]
pub fn fmt_diff_with(
&self,
old: &Self,
ctxt: &C,
f: &mut Formatter<'_>
) -> Result[src]
&self,
old: &Self,
ctxt: &C,
f: &mut Formatter<'_>
) -> Result
impl<C> DebugWithContext<C> for Local[src]
Loading content...Implementors
impl<'_, '_> DebugWithContext<Borrows<'_, '_>> for BorrowIndex[src]
impl<'tcx, C> DebugWithContext<C> for MovePathIndex where
C: HasMoveData<'tcx>, [src]
C: HasMoveData<'tcx>,
impl<C> DebugWithContext<C> for InitIndex[src]
impl<T, C> DebugWithContext<C> for Dual<T> where
T: DebugWithContext<C>, [src]
T: DebugWithContext<C>,