pub struct DocumentTableRow {
pub cells: Vec<DocumentTableCell>,
pub is_header: bool,
}Expand description
语义表格中的一行。
对应 OOXML <w:tr> 元素。
无直接 Java 对应,是 easydoc-rust 自创的语义模型。
Fields§
§cells: Vec<DocumentTableCell>行内单元格。
is_header: bool是否为表头行。
Trait Implementations§
Source§impl Clone for DocumentTableRow
impl Clone for DocumentTableRow
Source§fn clone(&self) -> DocumentTableRow
fn clone(&self) -> DocumentTableRow
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 DocumentTableRow
impl Debug for DocumentTableRow
Source§impl Default for DocumentTableRow
impl Default for DocumentTableRow
Source§fn default() -> DocumentTableRow
fn default() -> DocumentTableRow
Returns the “default value” for a type. Read more
Source§impl PartialEq for DocumentTableRow
impl PartialEq for DocumentTableRow
impl StructuralPartialEq for DocumentTableRow
Auto Trait Implementations§
impl Freeze for DocumentTableRow
impl RefUnwindSafe for DocumentTableRow
impl Send for DocumentTableRow
impl Sync for DocumentTableRow
impl Unpin for DocumentTableRow
impl UnsafeUnpin for DocumentTableRow
impl UnwindSafe for DocumentTableRow
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