pub struct RichBlockTableCell {
pub text: Option<RichText>,
pub is_header: Option<bool>,
pub colspan: Option<u32>,
pub rowspan: Option<u32>,
pub align: HorizontalAlign,
pub valign: VerticalAlign,
}Expand description
A cell in a table.
Fields§
§text: Option<RichText>Optional. Text in the cell; omitted means the cell is invisible.
is_header: Option<bool>Optional. True, if the cell is a header cell.
colspan: Option<u32>Optional. Number of columns the cell spans, if bigger than 1.
rowspan: Option<u32>Optional. Number of rows the cell spans, if bigger than 1.
align: HorizontalAlignHorizontal cell content alignment.
valign: VerticalAlignVertical cell content alignment.
Trait Implementations§
Source§impl Clone for RichBlockTableCell
impl Clone for RichBlockTableCell
Source§impl Debug for RichBlockTableCell
impl Debug for RichBlockTableCell
Source§impl<'de> Deserialize<'de> for RichBlockTableCell
impl<'de> Deserialize<'de> for RichBlockTableCell
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 RichBlockTableCell
impl PartialEq for RichBlockTableCell
Source§impl Serialize for RichBlockTableCell
impl Serialize for RichBlockTableCell
impl StructuralPartialEq for RichBlockTableCell
Auto Trait Implementations§
impl Forget for RichBlockTableCell
impl Freeze for RichBlockTableCell
impl Move for RichBlockTableCell
impl RefUnwindSafe for RichBlockTableCell
impl Send for RichBlockTableCell
impl Sync for RichBlockTableCell
impl Unpin for RichBlockTableCell
impl UnsafeUnpin for RichBlockTableCell
impl UnwindSafe for RichBlockTableCell
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