pub enum Cell {
Text(Text),
Meter(MeterCell),
Rich(TextCell),
Badge(BadgeSpec),
Button(ButtonCell),
Spark(SparkCell),
}Expand description
A table cell: spans, a meter, decorated text, a badge, a button or a sparkline.
Variants§
Text(Text)
Text.
Meter(MeterCell)
A meter.
Rich(TextCell)
Text with a dot or icon.
Badge(BadgeSpec)
A badge.
Button(ButtonCell)
A sm button.
Spark(SparkCell)
A sparkline.
Trait Implementations§
Source§impl From<ButtonCell> for Cell
impl From<ButtonCell> for Cell
Source§fn from(b: ButtonCell) -> Self
fn from(b: ButtonCell) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for Cell
Auto Trait Implementations§
impl Freeze for Cell
impl RefUnwindSafe for Cell
impl Send for Cell
impl Sync for Cell
impl Unpin for Cell
impl UnsafeUnpin for Cell
impl UnwindSafe for Cell
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