pub struct TabularBox {
pub width: Length,
pub height: Length,
pub depth: Length,
pub cells: Vec<TabularCellBox>,
pub rules: Vec<GraphicsElem>,
}Expand description
The solved PHGFixedTabular payload (horzBox.ml:279), minus rules
(filled in lang-side once the rule callback runs, primitives.rs’s
prim_tabular).
Fields§
§width: Length§height: Length§depth: LengthAlways Length::ZERO (upstream dpttotal, tabular.ml:340).
cells: Vec<TabularCellBox>§rules: Vec<GraphicsElem>Implementations§
Source§impl TabularBox
impl TabularBox
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 TabularBox
impl TabularBox
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 TabularBox
Source§impl Clone for TabularBox
impl Clone for TabularBox
Source§fn clone(&self) -> TabularBox
fn clone(&self) -> TabularBox
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 TabularBox
impl Debug for TabularBox
Source§impl<__F: FnMut(&TabularBox)> IntoHook<TabularBox> for __F
impl<__F: FnMut(&TabularBox)> IntoHook<TabularBox> for __F
Source§impl<__F: FnMut(&mut TabularBox)> IntoHookMut<TabularBox> for __F
impl<__F: FnMut(&mut TabularBox)> IntoHookMut<TabularBox> for __F
fn into_hook_mut(self) -> impl HookMut
Source§impl<__F: FnMut(&TabularBox)> IntoVisitor<TabularBox> for __F
impl<__F: FnMut(&TabularBox)> IntoVisitor<TabularBox> for __F
fn into_visitor(self) -> impl Visit
Source§impl<__F: FnMut(&mut TabularBox)> IntoVisitorMut<TabularBox> for __F
impl<__F: FnMut(&mut TabularBox)> IntoVisitorMut<TabularBox> for __F
fn into_visitor_mut(self) -> impl VisitMut
Source§impl PartialEq for TabularBox
impl PartialEq for TabularBox
Source§impl Repeater<0> for TabularBox
impl Repeater<0> for TabularBox
Source§type Type = Vec<TabularCellBox>
type Type = Vec<TabularCellBox>
The leaked type, valid in the referrer’s context via
<T as Repeater<INDEX>>::Type.Source§impl Repeater<1> for TabularBox
impl Repeater<1> for TabularBox
Source§impl Repeater<2> for TabularBox
impl Repeater<2> for TabularBox
Source§type Type = Vec<GraphicsElem>
type Type = Vec<GraphicsElem>
The leaked type, valid in the referrer’s context via
<T as Repeater<INDEX>>::Type.impl StructuralPartialEq for TabularBox
Auto Trait Implementations§
impl Freeze for TabularBox
impl RefUnwindSafe for TabularBox
impl Send for TabularBox
impl Sync for TabularBox
impl Unpin for TabularBox
impl UnsafeUnpin for TabularBox
impl UnwindSafe for TabularBox
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