Trait charon_lib::pretty::fmt_with_ctx::FmtWithCtx
source · pub trait FmtWithCtx<C> {
// Provided methods
fn fmt_with_ctx(&self, ctx: &C) -> String { ... }
fn fmt_with_ctx_and_indent(&self, _tab: &str, _ctx: &C) -> String { ... }
fn with_ctx<'a>(&'a self, ctx: &'a C) -> impl Display + 'a { ... }
}
Expand description
Format the AST type as a string.
Provided Methods§
fn fmt_with_ctx(&self, ctx: &C) -> String
fn fmt_with_ctx_and_indent(&self, _tab: &str, _ctx: &C) -> String
Object Safety§
This trait is not object safe.