pub struct LessHighlighter {}Expand description
Highlighter implementation for Less.
Trait Implementations§
Source§impl Highlighter for LessHighlighter
impl Highlighter for LessHighlighter
Source§fn highlight<'a>(
&self,
source: &'a str,
_language: &str,
theme: Theme,
) -> ParseResult<HighlightResult<'a>>
fn highlight<'a>( &self, source: &'a str, _language: &str, theme: Theme, ) -> ParseResult<HighlightResult<'a>>
Highlight the given source code for a specific language and theme.
Auto Trait Implementations§
impl Freeze for LessHighlighter
impl RefUnwindSafe for LessHighlighter
impl Send for LessHighlighter
impl Sync for LessHighlighter
impl Unpin for LessHighlighter
impl UnsafeUnpin for LessHighlighter
impl UnwindSafe for LessHighlighter
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