pub struct RichBlockTableCell {
pub text: Option<RichText>,
pub is_header: Option<bool>,
pub colspan: Option<u32>,
pub rowspan: Option<u32>,
pub align: String,
pub valign: String,
}Expand description
A single cell inside a RichBlockTable.
Fields§
§text: Option<RichText>The cell content; omit to leave the cell empty/invisible.
is_header: Option<bool>true if this is a header cell (<th>).
colspan: Option<u32>Number of columns the cell spans.
rowspan: Option<u32>Number of rows the cell spans.
align: StringHorizontal text alignment: "left", "center", or "right".
valign: StringVertical text alignment: "top", "middle", or "bottom".
Trait Implementations§
Source§impl Clone for RichBlockTableCell
impl Clone for RichBlockTableCell
Source§fn clone(&self) -> RichBlockTableCell
fn clone(&self) -> RichBlockTableCell
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 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
Auto Trait Implementations§
impl Freeze 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