pub struct CopyOptions {
pub include_combining: bool,
pub trim_trailing: bool,
pub join_soft_wraps: bool,
}Expand description
Options controlling copy extraction semantics.
Configures how text is extracted from a selection for clipboard/copy operations, including combining mark inclusion, soft-wrap joining, and trailing whitespace handling.
Fields§
§include_combining: boolInclude Unicode combining marks in extracted text.
When true, combining marks (accents, diacritics) attached to
base characters are included in the output. When false, only
the base character is emitted.
trim_trailing: boolTrim trailing whitespace from each extracted line.
join_soft_wraps: boolJoin soft-wrapped scrollback lines without inserting a newline.
When true, consecutive lines where the next has wrapped=true
are joined directly. When false, every line boundary becomes
a newline regardless of wrap status.
Trait Implementations§
Source§impl Clone for CopyOptions
impl Clone for CopyOptions
Source§fn clone(&self) -> CopyOptions
fn clone(&self) -> CopyOptions
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 CopyOptions
impl Debug for CopyOptions
Auto Trait Implementations§
impl Freeze for CopyOptions
impl RefUnwindSafe for CopyOptions
impl Send for CopyOptions
impl Sync for CopyOptions
impl Unpin for CopyOptions
impl UnwindSafe for CopyOptions
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