#[non_exhaustive]pub struct TableCellBlock {
pub text: String,
pub rowspan: u8,
pub colspan: u8,
}Expand description
One cell of a TableBlock.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.text: StringThe cell’s text.
rowspan: u8How many rows this cell spans.
colspan: u8How many columns this cell spans.
Trait Implementations§
Source§impl Clone for TableCellBlock
impl Clone for TableCellBlock
Source§impl Debug for TableCellBlock
impl Debug for TableCellBlock
Source§impl PartialEq for TableCellBlock
impl PartialEq 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