charon_lib::pretty::formatter

Trait SetLocals

source
pub trait SetLocals<'a> {
    type C: 'a + AstFormatter;

    // Required method
    fn set_locals(&'a self, locals: &'a Locals) -> Self::C;
}
Expand description

We use this trait with the formatter to update the context, for instance when we enter a declaration that we need to print.

Required Associated Types§

Required Methods§

source

fn set_locals(&'a self, locals: &'a Locals) -> Self::C

Implementors§

source§

impl<'a, 'b> SetLocals<'a> for FmtCtx<'b>

source§

type C = FmtCtx<'a>