Struct docx_rust::formatting::TableRowProperty
source · pub struct TableRowProperty {
pub justification: Option<TableJustification>,
}
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.
Implementations§
source§impl TableRowProperty
impl TableRowProperty
pub fn justification<T: Into<TableJustification>>(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