pub struct SimpleKeywordHighlighter { /* private fields */ }Expand description
A simple keyword-based highlighter for testing.
Highlights exact keyword matches in each line. Keywords are matched as substrings — no word boundary detection is performed.
Implementations§
Trait Implementations§
Source§impl Clone for SimpleKeywordHighlighter
impl Clone for SimpleKeywordHighlighter
Source§fn clone(&self) -> SimpleKeywordHighlighter
fn clone(&self) -> SimpleKeywordHighlighter
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SimpleKeywordHighlighter
impl Debug for SimpleKeywordHighlighter
Auto Trait Implementations§
impl Freeze for SimpleKeywordHighlighter
impl RefUnwindSafe for SimpleKeywordHighlighter
impl Send for SimpleKeywordHighlighter
impl Sync for SimpleKeywordHighlighter
impl Unpin for SimpleKeywordHighlighter
impl UnwindSafe for SimpleKeywordHighlighter
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