#[repr(u32)]pub enum CellContentTag {
Codepoint = 0,
CodepointGrapheme = 1,
BgColorPalette = 2,
BgColorRgb = 3,
}Expand description
Cell content tag.
Describes what kind of content a cell holds.
Variants§
Codepoint = 0
A single codepoint (may be zero for empty).
CodepointGrapheme = 1
A codepoint that is part of a multi-codepoint grapheme cluster.
BgColorPalette = 2
No text; background color from palette.
BgColorRgb = 3
No text; background color as RGB.
Trait Implementations§
Source§impl Clone for CellContentTag
impl Clone for CellContentTag
Source§fn clone(&self) -> CellContentTag
fn clone(&self) -> CellContentTag
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 moreimpl Copy for CellContentTag
Source§impl Debug for CellContentTag
impl Debug for CellContentTag
impl Eq for CellContentTag
Source§impl From<CellContentTag> for u32
impl From<CellContentTag> for u32
Source§fn from(v: CellContentTag) -> Self
fn from(v: CellContentTag) -> Self
Converts to this type from the input type.
Source§impl PartialEq for CellContentTag
impl PartialEq for CellContentTag
Source§fn eq(&self, other: &CellContentTag) -> bool
fn eq(&self, other: &CellContentTag) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CellContentTag
Auto Trait Implementations§
impl Freeze for CellContentTag
impl RefUnwindSafe for CellContentTag
impl Send for CellContentTag
impl Sync for CellContentTag
impl Unpin for CellContentTag
impl UnsafeUnpin for CellContentTag
impl UnwindSafe for CellContentTag
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