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 duplicate 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§impl PartialOrd for TableValue
impl PartialOrd for TableValue
impl Eq for TableValue
impl StructuralPartialEq for TableValue
Auto Trait Implementations§
impl Freeze for TableValue
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