pub struct CssHighlighter {}Expand description
Highlighter implementation for CSS.
Trait Implementations§
Source§impl Highlighter for CssHighlighter
impl Highlighter for CssHighlighter
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 CssHighlighter
impl RefUnwindSafe for CssHighlighter
impl Send for CssHighlighter
impl Sync for CssHighlighter
impl Unpin for CssHighlighter
impl UnsafeUnpin for CssHighlighter
impl UnwindSafe for CssHighlighter
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