pub struct DocumentTable {
pub rows: Vec<DocumentTableRow>,
}Expand description
保留表头和合并单元格信息的语义表格。
对应 OOXML <w:tbl> 元素,包含 <w:tblGrid> 列定义和 <w:tr> 行。
无直接 Java 对应,是 easydoc-rust 自创的语义模型。
Fields§
§rows: Vec<DocumentTableRow>表格行。
Trait Implementations§
Source§impl Clone for DocumentTable
impl Clone for DocumentTable
Source§fn clone(&self) -> DocumentTable
fn clone(&self) -> DocumentTable
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 DocumentTable
impl Debug for DocumentTable
Source§impl Default for DocumentTable
impl Default for DocumentTable
Source§fn default() -> DocumentTable
fn default() -> DocumentTable
Returns the “default value” for a type. Read more
Source§impl PartialEq for DocumentTable
impl PartialEq for DocumentTable
impl StructuralPartialEq for DocumentTable
Auto Trait Implementations§
impl Freeze for DocumentTable
impl RefUnwindSafe for DocumentTable
impl Send for DocumentTable
impl Sync for DocumentTable
impl Unpin for DocumentTable
impl UnsafeUnpin for DocumentTable
impl UnwindSafe for DocumentTable
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