pub trait AsAnnotationSnippet<'a> {
    // Required method
    fn as_annotation_snippet(&self, ctx: &'a CompileContext) -> SnippetOwned<'a>;

    // Provided method
    fn to_display_list(&self, ctx: &'a CompileContext) -> String { ... }
}

Required Methods§

source

fn as_annotation_snippet(&self, ctx: &'a CompileContext) -> SnippetOwned<'a>

Provided Methods§

source

fn to_display_list(&self, ctx: &'a CompileContext) -> String

Implementors§