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