Struct crossterm::terminal::DisableLineWrap
source · pub struct DisableLineWrap;
Expand description
Disables line wrapping.
Trait Implementations§
source§impl Clone for DisableLineWrap
impl Clone for DisableLineWrap
source§fn clone(&self) -> DisableLineWrap
fn clone(&self) -> DisableLineWrap
Returns a copy 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 Command for DisableLineWrap
impl Command for DisableLineWrap
source§fn write_ansi(&self, f: &mut impl Write) -> Result
fn write_ansi(&self, f: &mut impl Write) -> Result
Write an ANSI representation of this command to the given writer.
An ANSI code can manipulate the terminal by writing it to the terminal buffer.
However, only Windows 10 and UNIX systems support this. Read more
source§fn is_ansi_code_supported(&self) -> bool
fn is_ansi_code_supported(&self) -> bool
Returns whether the ANSI code representation of this command is supported by windows. Read more
source§impl Debug for DisableLineWrap
impl Debug for DisableLineWrap
source§impl PartialEq<DisableLineWrap> for DisableLineWrap
impl PartialEq<DisableLineWrap> for DisableLineWrap
source§fn eq(&self, other: &DisableLineWrap) -> bool
fn eq(&self, other: &DisableLineWrap) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for DisableLineWrap
impl Eq for DisableLineWrap
impl StructuralEq for DisableLineWrap
impl StructuralPartialEq for DisableLineWrap
Auto Trait Implementations§
impl RefUnwindSafe for DisableLineWrap
impl Send for DisableLineWrap
impl Sync for DisableLineWrap
impl Unpin for DisableLineWrap
impl UnwindSafe for DisableLineWrap
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