pub struct TextExportOptions {
pub range: ExportRange,
pub line_ending: LineEnding,
pub trim_trailing: bool,
pub join_soft_wraps: bool,
pub include_combining: bool,
}Expand description
Options for plain text export.
Controls whitespace handling, soft-wrap joining, and combining mark inclusion for extracting text from grid content.
Fields§
§range: ExportRangeWhich lines to include.
line_ending: LineEndingLine ending style.
trim_trailing: boolTrim trailing whitespace from each line.
join_soft_wraps: boolJoin soft-wrapped scrollback lines without inserting a newline.
include_combining: boolInclude combining marks in output.
Trait Implementations§
Source§impl Clone for TextExportOptions
impl Clone for TextExportOptions
Source§fn clone(&self) -> TextExportOptions
fn clone(&self) -> TextExportOptions
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 TextExportOptions
impl Debug for TextExportOptions
Auto Trait Implementations§
impl Freeze for TextExportOptions
impl RefUnwindSafe for TextExportOptions
impl Send for TextExportOptions
impl Sync for TextExportOptions
impl Unpin for TextExportOptions
impl UnwindSafe for TextExportOptions
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