pub enum DataTableCell {
RawText(RawText),
RawNumber(RawNumber),
RichText(RichText),
}Expand description
A table cell for DataTable block.
Variants§
RawText(RawText)
A plain text table cell
RawNumber(RawNumber)
A raw number table cell
RichText(RichText)
A rich text table cell
Implementations§
Source§impl DataTableCell
impl DataTableCell
pub fn is_raw_text(&self) -> bool
pub fn is_raw_number(&self) -> bool
pub fn is_rich_text(&self) -> bool
Trait Implementations§
Source§impl Clone for DataTableCell
impl Clone for DataTableCell
Source§fn clone(&self) -> DataTableCell
fn clone(&self) -> DataTableCell
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 DataTableCell
impl Debug for DataTableCell
Source§impl From<RawNumber> for DataTableCell
impl From<RawNumber> for DataTableCell
Source§impl From<RawText> for DataTableCell
impl From<RawText> for DataTableCell
Source§impl From<RichText> for DataTableCell
impl From<RichText> for DataTableCell
Source§impl PartialEq for DataTableCell
impl PartialEq for DataTableCell
Source§fn eq(&self, other: &DataTableCell) -> bool
fn eq(&self, other: &DataTableCell) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DataTableCell
impl Serialize for DataTableCell
impl StructuralPartialEq for DataTableCell
Auto Trait Implementations§
impl Freeze for DataTableCell
impl RefUnwindSafe for DataTableCell
impl Send for DataTableCell
impl Sync for DataTableCell
impl Unpin for DataTableCell
impl UnsafeUnpin for DataTableCell
impl UnwindSafe for DataTableCell
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