pub struct TableCellBlock {
pub id: Option<String>,
pub colspan: u32,
pub rowspan: u32,
pub align: Option<CellAlign>,
pub children: Vec<Text>,
pub attributes: BlockAttributes,
}Expand description
Table cell block content.
Fields§
§id: Option<String>Optional unique identifier.
colspan: u32Number of columns to span.
rowspan: u32Number of rows to span.
align: Option<CellAlign>Text alignment.
children: Vec<Text>Cell content.
attributes: BlockAttributesBlock attributes.
Trait Implementations§
Source§impl Clone for TableCellBlock
impl Clone for TableCellBlock
Source§fn clone(&self) -> TableCellBlock
fn clone(&self) -> TableCellBlock
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 TableCellBlock
impl Debug for TableCellBlock
Source§impl<'de> Deserialize<'de> for TableCellBlock
impl<'de> Deserialize<'de> for TableCellBlock
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TableCellBlock
impl PartialEq for TableCellBlock
Source§impl Serialize for TableCellBlock
impl Serialize for TableCellBlock
impl StructuralPartialEq for TableCellBlock
Auto Trait Implementations§
impl Freeze for TableCellBlock
impl RefUnwindSafe for TableCellBlock
impl Send for TableCellBlock
impl Sync for TableCellBlock
impl Unpin for TableCellBlock
impl UnsafeUnpin for TableCellBlock
impl UnwindSafe for TableCellBlock
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