Trait sway_ir::pretty::DebugWithContext
source · pub trait DebugWithContext {
// Required method
fn fmt_with_context(
&self,
formatter: &mut Formatter<'_>,
context: &Context
) -> Result;
// Provided method
fn with_context<'a, 'c>(
&'a self,
context: &'c Context
) -> WithContext<'a, 'c, Self> { ... }
}