pub struct RubyHighlighter {
pub use_parser: bool,
}Expand description
Ruby syntax highlighter
Fields§
§use_parser: boolWhether to use parser-based highlighting for better accuracy
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RubyHighlighter
impl RefUnwindSafe for RubyHighlighter
impl Send for RubyHighlighter
impl Sync for RubyHighlighter
impl Unpin for RubyHighlighter
impl UnsafeUnpin for RubyHighlighter
impl UnwindSafe for RubyHighlighter
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