pub struct LayoutBox {
pub kind: BoxKind,
pub metrics: BoxMetrics,
pub children: Vec<NodeId>,
}Expand description
TeX style box data retained in renderer neutral layout IR.
Fields§
§kind: BoxKindWhether this is a horizontal, vertical, math, or text box.
metrics: BoxMetricsTeX box metrics.
children: Vec<NodeId>Child nodes positioned relative to this box.
Trait Implementations§
impl Eq for LayoutBox
impl StructuralPartialEq for LayoutBox
Auto Trait Implementations§
impl Freeze for LayoutBox
impl RefUnwindSafe for LayoutBox
impl Send for LayoutBox
impl Sync for LayoutBox
impl Unpin for LayoutBox
impl UnsafeUnpin for LayoutBox
impl UnwindSafe for LayoutBox
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