pub struct TableRow {
pub items: Vec<DrawItem>,
pub boxes: Vec<(NodeId, PageBox)>,
pub opens: bool,
pub head: bool,
pub repeats: bool,
}Expand description
One row of a table, set whole: what it paints, and what the flow needs to set the table’s header rows again on a new page.
Fields§
§items: Vec<DrawItem>What the row paints, from the top of the row and the leading edge of the content box.
boxes: Vec<(NodeId, PageBox)>The border boxes of the row, its cells, and the blocks inside them, from the top of the row and the leading edge of the content box.
opens: boolWhether this is the first row of its table.
head: boolWhether this is a header row, which is set again at the top of every page or column the table continues onto.
repeats: boolWhether the header rows are set above this row when it is the first thing on a page or in a column.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TableRow
impl RefUnwindSafe for TableRow
impl Send for TableRow
impl Sync for TableRow
impl Unpin for TableRow
impl UnsafeUnpin for TableRow
impl UnwindSafe for TableRow
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
§fn to_owned_obj(&self, data: FontData<'_>) -> U
fn to_owned_obj(&self, data: FontData<'_>) -> U
Convert this type into
T, using the provided data to resolve any offsets.