pub enum Cell {
Normal(Paddings, Vec<HorzBox>),
Empty,
Multi(usize, usize, Paddings, Vec<HorzBox>),
}Expand description
cell (horzBox.ml:447). Content is already-measured pure boxes, so the
solver never threads a Context.
Variants§
Normal(Paddings, Vec<HorzBox>)
NormalCell(pads, hblst).
Empty
EmptyCell — a blank slot, and also how a MultiCell’s spanned
(non-anchor) slots MUST be filled in, both across columns and down
rows.
Multi(usize, usize, Paddings, Vec<HorzBox>)
MultiCell(numrow, numcol, pads, hblst).
Trait Implementations§
impl StructuralPartialEq for Cell
Auto Trait Implementations§
impl Freeze for Cell
impl RefUnwindSafe for Cell
impl Send for Cell
impl Sync for Cell
impl Unpin for Cell
impl UnsafeUnpin for Cell
impl UnwindSafe for Cell
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