pub struct TableRowProperty {
pub justification: Option<TableJustification>,
pub table_header: Option<TableHeader>,
}
Expand description
Table Row Property
use docx_rust::formatting::{TableRowProperty, TableJustificationVal};
let prop = TableRowProperty::default()
.justification(TableJustificationVal::Start);
Fields§
§justification: Option<TableJustification>
Specifies the alignment of the row with respect to the text margins in the section.
table_header: Option<TableHeader>
Repeat Table Row on Every New Page
Implementations§
Source§impl TableRowProperty
impl TableRowProperty
pub fn justification<T: Into<TableJustification>>(self, value: T) -> Self
pub fn table_header<T: Into<TableHeader>>(self, value: T) -> Self
Trait Implementations§
Source§impl Clone for TableRowProperty
impl Clone for TableRowProperty
Source§fn clone(&self) -> TableRowProperty
fn clone(&self) -> TableRowProperty
Returns a copy of the value. Read more
1.0.0 · 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 TableRowProperty
impl Debug for TableRowProperty
Source§impl Default for TableRowProperty
impl Default for TableRowProperty
Source§fn default() -> TableRowProperty
fn default() -> TableRowProperty
Returns the “default value” for a type. Read more
Source§impl<'__input> XmlRead<'__input> for TableRowProperty
impl<'__input> XmlRead<'__input> for TableRowProperty
Auto Trait Implementations§
impl Freeze for TableRowProperty
impl RefUnwindSafe for TableRowProperty
impl Send for TableRowProperty
impl Sync for TableRowProperty
impl Unpin for TableRowProperty
impl UnwindSafe for TableRowProperty
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