pub struct PowerShellHighlighter {
pub use_parser: bool,
}Expand description
A highlighter for the PowerShell language.
Fields§
§use_parser: boolWhether to use the parser for highlighting.
Implementations§
Source§impl PowerShellHighlighter
impl PowerShellHighlighter
Sourcepub fn with_parser() -> Self
pub fn with_parser() -> Self
Creates a new PowerShellHighlighter that uses the parser.
Trait Implementations§
Source§impl Default for PowerShellHighlighter
impl Default for PowerShellHighlighter
Source§impl Highlighter for PowerShellHighlighter
impl Highlighter for PowerShellHighlighter
Auto Trait Implementations§
impl Freeze for PowerShellHighlighter
impl RefUnwindSafe for PowerShellHighlighter
impl Send for PowerShellHighlighter
impl Sync for PowerShellHighlighter
impl Unpin for PowerShellHighlighter
impl UnsafeUnpin for PowerShellHighlighter
impl UnwindSafe for PowerShellHighlighter
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