pub struct HaskellHighlighter { /* private fields */ }Expand description
Haskell 语法高亮器
Implementations§
Trait Implementations§
Source§impl Default for HaskellHighlighter
impl Default for HaskellHighlighter
Source§impl Highlighter for HaskellHighlighter
impl Highlighter for HaskellHighlighter
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 HaskellHighlighter
impl RefUnwindSafe for HaskellHighlighter
impl Send for HaskellHighlighter
impl Sync for HaskellHighlighter
impl Unpin for HaskellHighlighter
impl UnwindSafe for HaskellHighlighter
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