Struct docx_rust::formatting::TableRowProperty
source · [−]pub struct TableRowProperty {
pub justification: Option<TableJustification>,
}
Expand description
Table Row Property
use docx::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
sourceimpl TableRowProperty
impl TableRowProperty
pub fn justification<T: Into<TableJustification>>(self, value: T) -> Self
Trait Implementations
sourceimpl Clone for TableRowProperty
impl Clone for TableRowProperty
sourcefn clone(&self) -> TableRowProperty
fn clone(&self) -> TableRowProperty
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for TableRowProperty
impl Debug for TableRowProperty
sourceimpl Default for TableRowProperty
impl Default for TableRowProperty
sourcefn default() -> TableRowProperty
fn default() -> TableRowProperty
Returns the “default value” for a type. Read more
sourceimpl<'__input> XmlRead<'__input> for TableRowProperty
impl<'__input> XmlRead<'__input> for TableRowProperty
Auto Trait Implementations
impl RefUnwindSafe for TableRowProperty
impl Send for TableRowProperty
impl Sync for TableRowProperty
impl Unpin for TableRowProperty
impl UnwindSafe for TableRowProperty
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more