pub enum BoxGlyphTier {
Ascii,
Unicode,
RichUnicode,
}Expand description
Richness of the box-drawing chrome the terminal can render.
Variants§
Ascii
ASCII-only chrome (+, -, |).
Unicode
Unicode box drawing (╭ ─ ╮ │).
RichUnicode
Unicode plus the dashed variants only some terminals render correctly.
Implementations§
Source§impl BoxGlyphTier
impl BoxGlyphTier
Sourcepub fn supports_unicode(self) -> bool
pub fn supports_unicode(self) -> bool
Whether this tier can draw Unicode box-drawing glyphs.
Trait Implementations§
Source§impl Clone for BoxGlyphTier
impl Clone for BoxGlyphTier
impl Copy for BoxGlyphTier
Source§impl Debug for BoxGlyphTier
impl Debug for BoxGlyphTier
Source§impl Default for BoxGlyphTier
impl Default for BoxGlyphTier
impl Eq for BoxGlyphTier
Source§impl Ord for BoxGlyphTier
impl Ord for BoxGlyphTier
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for BoxGlyphTier
impl PartialEq for BoxGlyphTier
Source§impl PartialOrd for BoxGlyphTier
impl PartialOrd for BoxGlyphTier
impl StructuralPartialEq for BoxGlyphTier
Auto Trait Implementations§
impl Forget for BoxGlyphTier
impl Freeze for BoxGlyphTier
impl Move for BoxGlyphTier
impl RefUnwindSafe for BoxGlyphTier
impl Send for BoxGlyphTier
impl Sync for BoxGlyphTier
impl Unpin for BoxGlyphTier
impl UnsafeUnpin for BoxGlyphTier
impl UnwindSafe for BoxGlyphTier
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.