Struct egui_code_editor::highlighting::Highlighter
source · pub struct Highlighter { /* private fields */ }Implementations§
source§impl Highlighter
impl Highlighter
Trait Implementations§
source§impl ComputerMut<(&CodeEditor, &str), LayoutJob> for Highlighter
impl ComputerMut<(&CodeEditor, &str), LayoutJob> for Highlighter
fn compute(&mut self, (cache, text): (&CodeEditor, &str)) -> LayoutJob
source§impl Debug for Highlighter
impl Debug for Highlighter
source§impl Default for Highlighter
impl Default for Highlighter
source§fn default() -> Highlighter
fn default() -> Highlighter
Returns the “default value” for a type. Read more
source§impl PartialEq for Highlighter
impl PartialEq for Highlighter
source§fn eq(&self, other: &Highlighter) -> bool
fn eq(&self, other: &Highlighter) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for Highlighter
impl PartialOrd for Highlighter
source§fn partial_cmp(&self, other: &Highlighter) -> Option<Ordering>
fn partial_cmp(&self, other: &Highlighter) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl StructuralPartialEq for Highlighter
Auto Trait Implementations§
impl RefUnwindSafe for Highlighter
impl Send for Highlighter
impl Sync for Highlighter
impl Unpin for Highlighter
impl UnwindSafe for Highlighter
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