ExpandInfallible

Trait ExpandInfallible 

Source
pub trait ExpandInfallible<O> {
    // Required method
    fn expand<'c>(&self, ctx: GeneralContext<'c>, out: &mut O);
}
Expand description

Convenience trait providing fn expand(self), infallible version

Some of our expand functions always record errors within the output accumulator and therefore do not need to return them.

Required Methods§

Source

fn expand<'c>(&self, ctx: GeneralContext<'c>, out: &mut O)

Implementors§