pub enum CellContent {
Narrow(char),
WideStart(char),
WideContinuation,
Empty,
}Expand description
Double-width cell renderer helper.
When rendering a wide character at cell (col, row), it occupies cells (col, row) and (col+1, row). The second cell should be marked as a continuation.
Variants§
Narrow(char)
Normal single-width character.
WideStart(char)
First cell of a wide character.
WideContinuation
Continuation of a wide character (second cell).
Empty
Empty cell.
Trait Implementations§
Source§impl Clone for CellContent
impl Clone for CellContent
Source§fn clone(&self) -> CellContent
fn clone(&self) -> CellContent
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CellContent
impl Debug for CellContent
Source§impl Default for CellContent
impl Default for CellContent
Source§fn default() -> CellContent
fn default() -> CellContent
Returns the “default value” for a type. Read more
Source§impl PartialEq for CellContent
impl PartialEq for CellContent
impl Copy for CellContent
impl Eq for CellContent
impl StructuralPartialEq for CellContent
Auto Trait Implementations§
impl Freeze for CellContent
impl RefUnwindSafe for CellContent
impl Send for CellContent
impl Sync for CellContent
impl Unpin for CellContent
impl UnwindSafe for CellContent
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)