pub struct NestedTable {
pub parent: String,
pub rows: Vec<Vec<TableCell>>,
pub header_rows: usize,
pub widths_dxa: Vec<u32>,
pub nested: Vec<NestedTable>,
}Expand description
A table nested in a cell. It has a parent cell path, rather than a tN
index in the body. Its own nested tables carry the full cell path.
Fields§
§parent: StringContaining cell, for example t0.row2.cell0 or
t0.row2.cell0.t0.row0.cell1.
rows: Vec<Vec<TableCell>>The cell grid, with the same own-paragraph rule as Table::rows.
header_rows: usizeLeading rows marked to repeat as a header.
widths_dxa: Vec<u32>Grid column widths in twentieths of a point.
nested: Vec<NestedTable>Tables nested directly in this table’s cells, in document order.
Trait Implementations§
Source§impl Clone for NestedTable
impl Clone for NestedTable
Source§fn clone(&self) -> NestedTable
fn clone(&self) -> NestedTable
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 NestedTable
impl Debug for NestedTable
impl Eq for NestedTable
Source§impl PartialEq for NestedTable
impl PartialEq for NestedTable
Source§impl Serialize for NestedTable
impl Serialize for NestedTable
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for NestedTable
Auto Trait Implementations§
impl Forget for NestedTable
impl Freeze for NestedTable
impl Move for NestedTable
impl RefUnwindSafe for NestedTable
impl Send for NestedTable
impl Sync for NestedTable
impl Unpin for NestedTable
impl UnsafeUnpin for NestedTable
impl UnwindSafe for NestedTable
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.