pub struct RubyHighlighter {
pub use_parser: bool,
}Expand description
Ruby 语法高亮器
Fields§
§use_parser: bool是否使用基于解析器的高亮以提高准确性
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 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