pub struct Queries<'a> {
pub highlights: &'a str,
pub injections: &'a str,
pub locals: &'a str,
pub rainbows: &'a str,
}Expand description
Queries for each highlighting pass. An empty string disables that pass.
Fields§
§highlights: &'a strToken style captures and precedence metadata.
injections: &'a strEmbedded-language captures and included-range metadata.
locals: &'a strLexical scopes, definitions, and references.
rainbows: &'a strBracket captures and nesting scopes.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Forget for Queries<'a>
impl<'a> Freeze for Queries<'a>
impl<'a> Move for Queries<'a>
impl<'a> RefUnwindSafe for Queries<'a>
impl<'a> Send for Queries<'a>
impl<'a> Sync for Queries<'a>
impl<'a> Unpin for Queries<'a>
impl<'a> UnsafeUnpin for Queries<'a>
impl<'a> UnwindSafe for Queries<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more