Struct tree_sitter_highlight::HtmlRenderer[][src]

pub struct HtmlRenderer {
    pub html: Vec<u8>,
    pub line_offsets: Vec<u32>,
    // some fields omitted
}
Expand description

Converts a general-purpose syntax highlighting iterator into a sequence of lines of HTML.

Fields

html: Vec<u8>line_offsets: Vec<u32>

Implementations

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.