pub struct TableCell {
pub content: Vec<Inline>,
pub colspan: u32,
pub rowspan: u32,
pub align: Option<ColumnAlign>,
pub extra: Extra,
}Expand description
One cell of a Table: inlines only (a cell of two paragraphs is two
lines of one cell, joined by Inline::LineBreak).
Fields§
§content: Vec<Inline>May be empty.
colspan: u32How many columns the cell covers (1, and then not written).
rowspan: u32How many rows the cell covers (1, and then not written).
align: Option<ColumnAlign>Overrides the column’s alignment for this cell: a heading centred over three right-aligned columns.
extra: ExtraFields written by newer builds, kept on round-trip.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TableCell
impl<'de> Deserialize<'de> for TableCell
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
impl StructuralPartialEq for TableCell
Auto Trait Implementations§
impl Freeze for TableCell
impl RefUnwindSafe for TableCell
impl Send for TableCell
impl Sync for TableCell
impl Unpin for TableCell
impl UnsafeUnpin for TableCell
impl UnwindSafe for TableCell
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