pub struct Table {
pub index: usize,
pub rows: Vec<Vec<TableCell>>,
pub header_rows: usize,
pub widths_dxa: Vec<u32>,
pub nested: Vec<NestedTable>,
}Expand description
A top-level body table, numbered as the view’s tN.
Fields§
§index: usizePosition among top-level body tables in document order.
rows: Vec<Vec<TableCell>>Cells row by row, as they appear in the XML: a merged cell is one cell, so rows can differ in length.
header_rows: usizeLeading rows marked to repeat as a header (w:tblHeader).
widths_dxa: Vec<u32>Grid column widths (w:gridCol) in twentieths of a point; 0 when a
width is missing or unreadable.
nested: Vec<NestedTable>Tables nested directly in this table’s cells, in document order.
Trait Implementations§
impl Eq for Table
Source§impl Serialize for Table
impl Serialize for Table
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 Table
Auto Trait Implementations§
impl Forget for Table
impl Freeze for Table
impl Move for Table
impl RefUnwindSafe for Table
impl Send for Table
impl Sync for Table
impl Unpin for Table
impl UnsafeUnpin for Table
impl UnwindSafe for Table
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.