pub struct PythonHighlighter {
pub use_parser: bool,
}Fields§
§use_parser: boolImplementations§
Source§impl PythonHighlighter
impl PythonHighlighter
pub fn new() -> Self
pub fn with_parser() -> Self
Trait Implementations§
Source§impl Default for PythonHighlighter
impl Default for PythonHighlighter
Source§impl Highlighter for PythonHighlighter
impl Highlighter for PythonHighlighter
Auto Trait Implementations§
impl Freeze for PythonHighlighter
impl RefUnwindSafe for PythonHighlighter
impl Send for PythonHighlighter
impl Sync for PythonHighlighter
impl Unpin for PythonHighlighter
impl UnwindSafe for PythonHighlighter
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