pub struct TableCellParentData {
pub vertical_alignment: Option<TableCellVerticalAlignment>,
pub x: Option<usize>,
pub y: Option<usize>,
/* private fields */
}Expand description
Parent data used by RenderTable for its children.
Fields§
§vertical_alignment: Option<TableCellVerticalAlignment>Where this cell should be placed vertically.
When using TableCellVerticalAlignment::Baseline, the text baseline must be set as
well.
x: Option<usize>The column that the child was in the last time it was laid out.
y: Option<usize>The row that the child was in the last time it was laid out.
Implementations§
Source§impl TableCellParentData
impl TableCellParentData
Sourcepub const fn new() -> TableCellParentData
pub const fn new() -> TableCellParentData
Creates table cell parent data at offset zero, with the default vertical alignment.
Trait Implementations§
Source§impl Debug for TableCellParentData
impl Debug for TableCellParentData
Source§impl Default for TableCellParentData
impl Default for TableCellParentData
Source§impl Display for TableCellParentData
impl Display for TableCellParentData
Auto Trait Implementations§
impl Freeze for TableCellParentData
impl RefUnwindSafe for TableCellParentData
impl Send for TableCellParentData
impl Sync for TableCellParentData
impl Unpin for TableCellParentData
impl UnsafeUnpin for TableCellParentData
impl UnwindSafe for TableCellParentData
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