pub struct InvalidTerminalText { /* private fields */ }Expand description
The location of a control character rejected from terminal text.
Implementations§
Source§impl InvalidTerminalText
impl InvalidTerminalText
pub const fn byte_offset(self) -> usize
Trait Implementations§
Source§impl Clone for InvalidTerminalText
impl Clone for InvalidTerminalText
Source§fn clone(&self) -> InvalidTerminalText
fn clone(&self) -> InvalidTerminalText
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 Debug for InvalidTerminalText
impl Debug for InvalidTerminalText
Source§impl Display for InvalidTerminalText
impl Display for InvalidTerminalText
Source§impl Error for InvalidTerminalText
impl Error for InvalidTerminalText
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl Hash for InvalidTerminalText
impl Hash for InvalidTerminalText
Source§impl PartialEq for InvalidTerminalText
impl PartialEq for InvalidTerminalText
Source§fn eq(&self, other: &InvalidTerminalText) -> bool
fn eq(&self, other: &InvalidTerminalText) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for InvalidTerminalText
impl Eq for InvalidTerminalText
impl StructuralPartialEq for InvalidTerminalText
Auto Trait Implementations§
impl Freeze for InvalidTerminalText
impl RefUnwindSafe for InvalidTerminalText
impl Send for InvalidTerminalText
impl Sync for InvalidTerminalText
impl Unpin for InvalidTerminalText
impl UnsafeUnpin for InvalidTerminalText
impl UnwindSafe for InvalidTerminalText
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