pub struct TabularCellBox {
pub x: Length,
pub baseline_y: Length,
pub contents: Vec<(Length, PureHorzBox)>,
}Expand description
One placed cell inside a solved TabularBox: its box-local anchor
(x = left edge, baseline_y = content baseline, both y-up from the
box’s own baseline-left origin) and its content already fitted to the
cell’s (or, for a span, combined) column width. EmptyCells produce no
entry at all.
Fields§
§x: Length§baseline_y: Length§contents: Vec<(Length, PureHorzBox)>Trait Implementations§
Source§impl Clone for TabularCellBox
impl Clone for TabularCellBox
Source§fn clone(&self) -> TabularCellBox
fn clone(&self) -> TabularCellBox
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 TabularCellBox
impl Debug for TabularCellBox
Source§impl PartialEq for TabularCellBox
impl PartialEq for TabularCellBox
impl StructuralPartialEq for TabularCellBox
Auto Trait Implementations§
impl Freeze for TabularCellBox
impl RefUnwindSafe for TabularCellBox
impl Send for TabularCellBox
impl Sync for TabularCellBox
impl Unpin for TabularCellBox
impl UnsafeUnpin for TabularCellBox
impl UnwindSafe for TabularCellBox
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