pub struct LangEntry {
pub language: Language,
pub config: Option<HighlightConfiguration>,
pub tags: Option<Query>,
}Fields§
§language: Language§config: Option<HighlightConfiguration>None when the grammar’s highlight query failed to compile; the file
then renders plain instead of erroring.
Definition/tags query for scope lookup; None when the grammar ships no
tags query.
Auto Trait Implementations§
impl Freeze for LangEntry
impl RefUnwindSafe for LangEntry
impl Send for LangEntry
impl Sync for LangEntry
impl Unpin for LangEntry
impl UnsafeUnpin for LangEntry
impl UnwindSafe for LangEntry
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