rerun::external::re_ui::syntax_highlighting

Trait SyntaxHighlighting

Source
pub trait SyntaxHighlighting {
    // Required method
    fn syntax_highlight_into(&self, style: &Style, job: &mut LayoutJob);

    // Provided method
    fn syntax_highlighted(&self, style: &Style) -> LayoutJob { ... }
}

Required Methods§

Source

fn syntax_highlight_into(&self, style: &Style, job: &mut LayoutJob)

Provided Methods§

Implementations on Foreign Types§

Source§

impl SyntaxHighlighting for &str

Source§

fn syntax_highlight_into(&self, style: &Style, job: &mut LayoutJob)

Source§

impl SyntaxHighlighting for String

Source§

fn syntax_highlight_into(&self, style: &Style, job: &mut LayoutJob)

Implementors§