Enum tabled::tables::TableValue
source · pub enum TableValue {
Row(Vec<TableValue>),
Column(Vec<TableValue>),
Cell(String),
}
Available on crate feature
std
only.Expand description
TableValue
a structure which is responsible for a PoolTable
layout.
Variants§
Row(Vec<TableValue>)
A horizontal row.
Column(Vec<TableValue>)
A vertical column.
Cell(String)
A single cell.
Trait Implementations§
source§impl Clone for TableValue
impl Clone for TableValue
source§fn clone(&self) -> TableValue
fn clone(&self) -> TableValue
Returns a copy of the value. Read more
1.0.0 · 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 TableValue
impl Debug for TableValue
source§impl From<TableValue> for PoolTable
impl From<TableValue> for PoolTable
source§fn from(value: TableValue) -> Self
fn from(value: TableValue) -> Self
Converts to this type from the input type.
source§impl Ord for TableValue
impl Ord for TableValue
source§fn cmp(&self, other: &TableValue) -> Ordering
fn cmp(&self, other: &TableValue) -> Ordering
1.21.0 · 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
source§impl PartialEq for TableValue
impl PartialEq for TableValue
source§fn eq(&self, other: &TableValue) -> bool
fn eq(&self, other: &TableValue) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for TableValue
impl PartialOrd for TableValue
source§fn partial_cmp(&self, other: &TableValue) -> Option<Ordering>
fn partial_cmp(&self, other: &TableValue) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for TableValue
impl StructuralEq for TableValue
impl StructuralPartialEq for TableValue
Auto Trait Implementations§
impl RefUnwindSafe for TableValue
impl Send for TableValue
impl Sync for TableValue
impl Unpin for TableValue
impl UnwindSafe for TableValue
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