Struct crossterm::event::EnableBracketedPaste
source · pub struct EnableBracketedPaste;
Expand description
A command that enables bracketed paste mode.
It should be paired with DisableBracketedPaste
at the end of execution.
This is not supported in older Windows terminals without virtual terminal sequences.
Trait Implementations§
source§impl Clone for EnableBracketedPaste
impl Clone for EnableBracketedPaste
source§fn clone(&self) -> EnableBracketedPaste
fn clone(&self) -> EnableBracketedPaste
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 EnableBracketedPaste
impl Command for EnableBracketedPaste
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 EnableBracketedPaste
impl Debug for EnableBracketedPaste
source§impl PartialEq<EnableBracketedPaste> for EnableBracketedPaste
impl PartialEq<EnableBracketedPaste> for EnableBracketedPaste
source§fn eq(&self, other: &EnableBracketedPaste) -> bool
fn eq(&self, other: &EnableBracketedPaste) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for EnableBracketedPaste
impl Eq for EnableBracketedPaste
impl StructuralEq for EnableBracketedPaste
impl StructuralPartialEq for EnableBracketedPaste
Auto Trait Implementations§
impl RefUnwindSafe for EnableBracketedPaste
impl Send for EnableBracketedPaste
impl Sync for EnableBracketedPaste
impl Unpin for EnableBracketedPaste
impl UnwindSafe for EnableBracketedPaste
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