pub struct ControlString<'a>(/* private fields */);Expand description
Printable ASCII payload carried by an ECMA-48 control string.
The framing escape sequences are supplied by the terminal backend. Restricting the payload to printable ASCII prevents an extension protocol from terminating its string early or exposing C1-valued UTF-8 continuation bytes to a byte-oriented terminal parser.
Implementations§
Trait Implementations§
Source§impl<'a> Clone for ControlString<'a>
impl<'a> Clone for ControlString<'a>
Source§fn clone(&self) -> ControlString<'a>
fn clone(&self) -> ControlString<'a>
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<'a> Debug for ControlString<'a>
impl<'a> Debug for ControlString<'a>
Source§impl<'a> Hash for ControlString<'a>
impl<'a> Hash for ControlString<'a>
Source§impl<'a> PartialEq for ControlString<'a>
impl<'a> PartialEq for ControlString<'a>
Source§fn eq(&self, other: &ControlString<'a>) -> bool
fn eq(&self, other: &ControlString<'a>) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl<'a> TryFrom<&'a str> for ControlString<'a>
impl<'a> TryFrom<&'a str> for ControlString<'a>
impl<'a> Copy for ControlString<'a>
impl<'a> Eq for ControlString<'a>
impl<'a> StructuralPartialEq for ControlString<'a>
Auto Trait Implementations§
impl<'a> Freeze for ControlString<'a>
impl<'a> RefUnwindSafe for ControlString<'a>
impl<'a> Send for ControlString<'a>
impl<'a> Sync for ControlString<'a>
impl<'a> Unpin for ControlString<'a>
impl<'a> UnsafeUnpin for ControlString<'a>
impl<'a> UnwindSafe for ControlString<'a>
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