pub struct ExportTextOptions {
pub text: String,
pub strip_ansi: bool,
}Expand description
Options for plain-text export (strips ANSI escape codes).
Fields§
§text: StringThe text to export (may contain ANSI escapes).
strip_ansi: boolIf true, strip ANSI escape sequences. If false, keep them.
Trait Implementations§
Source§impl Clone for ExportTextOptions
impl Clone for ExportTextOptions
Source§fn clone(&self) -> ExportTextOptions
fn clone(&self) -> ExportTextOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ExportTextOptions
impl Debug for ExportTextOptions
Auto Trait Implementations§
impl Freeze for ExportTextOptions
impl RefUnwindSafe for ExportTextOptions
impl Send for ExportTextOptions
impl Sync for ExportTextOptions
impl Unpin for ExportTextOptions
impl UnsafeUnpin for ExportTextOptions
impl UnwindSafe for ExportTextOptions
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