pub struct HighlightOptions {
pub theme: Theme,
pub check: bool,
pub captures_path: Option<PathBuf>,
pub html: Option<(HtmlOutput, HtmlStyling)>,
pub quiet: bool,
pub print_time: bool,
pub cancellation_flag: Arc<AtomicUsize>,
pub encoding: Option<TSInputEncoding>,
}Fields§
§theme: Theme§check: bool§captures_path: Option<PathBuf>§html: Option<(HtmlOutput, HtmlStyling)>None for regular output, Some((layout, style)) when emitting HTML.
quiet: bool§print_time: bool§cancellation_flag: Arc<AtomicUsize>§encoding: Option<TSInputEncoding>Auto Trait Implementations§
impl Freeze for HighlightOptions
impl RefUnwindSafe for HighlightOptions
impl Send for HighlightOptions
impl Sync for HighlightOptions
impl Unpin for HighlightOptions
impl UnsafeUnpin for HighlightOptions
impl UnwindSafe for HighlightOptions
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