pub struct PageBlockTableCell {
pub text: Option<RichText>,
pub is_header: bool,
pub colspan: i32,
pub rowspan: i32,
pub align: PageBlockHorizontalAlignment,
pub valign: PageBlockVerticalAlignment,
}
Expand description
Represents a cell of a table
Fields§
§text: Option<RichText>
Cell text; may be null. If the text is null, then the cell must be invisible
is_header: bool
True, if it is a header cell
colspan: i32
The number of columns the cell spans
rowspan: i32
The number of rows the cell spans
align: PageBlockHorizontalAlignment
Horizontal cell content alignment
valign: PageBlockVerticalAlignment
Vertical cell content alignment
Trait Implementations§
Source§impl Clone for PageBlockTableCell
impl Clone for PageBlockTableCell
Source§fn clone(&self) -> PageBlockTableCell
fn clone(&self) -> PageBlockTableCell
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 PageBlockTableCell
impl Debug for PageBlockTableCell
Source§impl<'de> Deserialize<'de> for PageBlockTableCell
impl<'de> Deserialize<'de> for PageBlockTableCell
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 PageBlockTableCell
impl PartialEq for PageBlockTableCell
Source§impl Serialize for PageBlockTableCell
impl Serialize for PageBlockTableCell
impl StructuralPartialEq for PageBlockTableCell
Auto Trait Implementations§
impl Freeze for PageBlockTableCell
impl RefUnwindSafe for PageBlockTableCell
impl Send for PageBlockTableCell
impl Sync for PageBlockTableCell
impl Unpin for PageBlockTableCell
impl UnwindSafe for PageBlockTableCell
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