pub enum InvalidTabMarker {
ControlCharacter,
ZeroWidthGrapheme,
TooWide {
width: u16,
marker_width: usize,
},
}Expand description
Why a visible tab marker cannot participate in layout.
Variants§
ControlCharacter
The marker contains a terminal control character.
ZeroWidthGrapheme
The marker contains a grapheme with no independently visible cells.
TooWide
The marker occupies more cells than the configured replacement width.
Trait Implementations§
Source§impl Clone for InvalidTabMarker
impl Clone for InvalidTabMarker
Source§fn clone(&self) -> InvalidTabMarker
fn clone(&self) -> InvalidTabMarker
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 InvalidTabMarker
impl Debug for InvalidTabMarker
Source§impl Display for InvalidTabMarker
impl Display for InvalidTabMarker
Source§impl Error for InvalidTabMarker
impl Error for InvalidTabMarker
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 PartialEq for InvalidTabMarker
impl PartialEq for InvalidTabMarker
Source§fn eq(&self, other: &InvalidTabMarker) -> bool
fn eq(&self, other: &InvalidTabMarker) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for InvalidTabMarker
impl Eq for InvalidTabMarker
impl StructuralPartialEq for InvalidTabMarker
Auto Trait Implementations§
impl Freeze for InvalidTabMarker
impl RefUnwindSafe for InvalidTabMarker
impl Send for InvalidTabMarker
impl Sync for InvalidTabMarker
impl Unpin for InvalidTabMarker
impl UnsafeUnpin for InvalidTabMarker
impl UnwindSafe for InvalidTabMarker
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