pub struct MemoizedEasymarkHighlighter { /* private fields */ }
Expand description
Highlight easymark, memoizing previous output to save CPU.
In practice, the highlighter is fast enough not to need any caching.
Implementations§
Trait Implementations§
source§impl Default for MemoizedEasymarkHighlighter
impl Default for MemoizedEasymarkHighlighter
source§fn default() -> MemoizedEasymarkHighlighter
fn default() -> MemoizedEasymarkHighlighter
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MemoizedEasymarkHighlighter
impl RefUnwindSafe for MemoizedEasymarkHighlighter
impl Send for MemoizedEasymarkHighlighter
impl Sync for MemoizedEasymarkHighlighter
impl Unpin for MemoizedEasymarkHighlighter
impl UnwindSafe for MemoizedEasymarkHighlighter
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