Trait re_ui::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§

source

fn syntax_highlighted(&self, style: &Style) -> LayoutJob

Implementations on Foreign Types§

source§

impl SyntaxHighlighting for EntityPath

source§

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

source§

impl SyntaxHighlighting for EntityPathPart

source§

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

source§

impl SyntaxHighlighting for Instance

source§

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

source§

impl SyntaxHighlighting for InstancePath

source§

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

Implementors§