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)>Implementations§
Source§impl TabularCellBox
impl TabularCellBox
Sourcepub fn visit<__T>(&self, visitor: impl IntoVisitor<__T>) -> &Self
pub fn visit<__T>(&self, visitor: impl IntoVisitor<__T>) -> &Self
Visit self with any Visit, returning self to chain.
Source§impl TabularCellBox
impl TabularCellBox
Sourcepub fn visit_mut<__T>(&mut self, visitor: impl IntoVisitorMut<__T>) -> &mut Self
pub fn visit_mut<__T>(&mut self, visitor: impl IntoVisitorMut<__T>) -> &mut Self
Visit self with any VisitMut, returning self to chain.
Trait Implementations§
impl Ast for TabularCellBox
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<__F: FnMut(&TabularCellBox)> IntoHook<TabularCellBox> for __F
impl<__F: FnMut(&TabularCellBox)> IntoHook<TabularCellBox> for __F
Source§impl<__F: FnMut(&mut TabularCellBox)> IntoHookMut<TabularCellBox> for __F
impl<__F: FnMut(&mut TabularCellBox)> IntoHookMut<TabularCellBox> for __F
fn into_hook_mut(self) -> impl HookMut
Source§impl<__F: FnMut(&TabularCellBox)> IntoVisitor<TabularCellBox> for __F
impl<__F: FnMut(&TabularCellBox)> IntoVisitor<TabularCellBox> for __F
fn into_visitor(self) -> impl Visit
Source§impl<__F: FnMut(&mut TabularCellBox)> IntoVisitorMut<TabularCellBox> for __F
impl<__F: FnMut(&mut TabularCellBox)> IntoVisitorMut<TabularCellBox> for __F
fn into_visitor_mut(self) -> impl VisitMut
Source§impl PartialEq for TabularCellBox
impl PartialEq for TabularCellBox
Source§impl Repeater<0> for TabularCellBox
impl Repeater<0> for TabularCellBox
Source§impl Repeater<1> for TabularCellBox
impl Repeater<1> 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