pub struct AnsiExportOptions {
pub range: ExportRange,
pub color_depth: ColorDepth,
pub line_ending: LineEnding,
pub trim_trailing: bool,
pub reset_at_end: bool,
pub join_soft_wraps: bool,
}Expand description
Options for ANSI escape sequence export.
Controls color depth, line handling, and reset behavior for re-emitting grid content as VT/ANSI sequences.
Fields§
§range: ExportRangeWhich lines to include.
color_depth: ColorDepthMaximum color depth to emit.
line_ending: LineEndingLine ending style.
trim_trailing: boolTrim trailing whitespace from each line.
reset_at_end: boolEmit SGR 0 (reset) at the end of output.
join_soft_wraps: boolJoin soft-wrapped scrollback lines without inserting a newline.
Trait Implementations§
Source§impl Clone for AnsiExportOptions
impl Clone for AnsiExportOptions
Source§fn clone(&self) -> AnsiExportOptions
fn clone(&self) -> AnsiExportOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AnsiExportOptions
impl Debug for AnsiExportOptions
Auto Trait Implementations§
impl Freeze for AnsiExportOptions
impl RefUnwindSafe for AnsiExportOptions
impl Send for AnsiExportOptions
impl Sync for AnsiExportOptions
impl Unpin for AnsiExportOptions
impl UnwindSafe for AnsiExportOptions
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