pub struct FormatterOptions {
pub format: Format,
pub trim: bool,
pub unwrap: bool,
}Expand description
Options for creating a terminal formatter.
Fields§
§format: FormatOutput format to emit.
trim: boolWhether to trim trailing whitespace on non-blank lines.
unwrap: boolWhether to unwrap soft-wrapped lines.
Trait Implementations§
Source§impl Clone for FormatterOptions
impl Clone for FormatterOptions
Source§fn clone(&self) -> FormatterOptions
fn clone(&self) -> FormatterOptions
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 FormatterOptions
impl Debug for FormatterOptions
Source§impl From<FormatterOptions> for GhosttyFormatterTerminalOptions
impl From<FormatterOptions> for GhosttyFormatterTerminalOptions
Source§fn from(value: FormatterOptions) -> Self
fn from(value: FormatterOptions) -> Self
Converts to this type from the input type.
Source§impl PartialEq for FormatterOptions
impl PartialEq for FormatterOptions
impl Copy for FormatterOptions
impl Eq for FormatterOptions
impl StructuralPartialEq for FormatterOptions
Auto Trait Implementations§
impl Freeze for FormatterOptions
impl RefUnwindSafe for FormatterOptions
impl Send for FormatterOptions
impl Sync for FormatterOptions
impl Unpin for FormatterOptions
impl UnsafeUnpin for FormatterOptions
impl UnwindSafe for FormatterOptions
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