Struct docx_rust::formatting::TableIndent
source · [−]pub struct TableIndent {
pub value: Option<usize>,
pub unit: Option<TableIndentUnit>,
}
Expand description
Table Indent
use docx::formatting::*;
let ind = TableIndent::from(42);
let ind = TableIndent::from(TableIndentUnit::Pct);
let ind = TableIndent::from((42, TableIndentUnit::Dxa));
Fields
value: Option<usize>
unit: Option<TableIndentUnit>
Trait Implementations
sourceimpl Clone for TableIndent
impl Clone for TableIndent
sourcefn clone(&self) -> TableIndent
fn clone(&self) -> TableIndent
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 TableIndent
impl Debug for TableIndent
sourceimpl Default for TableIndent
impl Default for TableIndent
sourcefn default() -> TableIndent
fn default() -> TableIndent
Returns the “default value” for a type. Read more
sourceimpl From<(usize, TableIndentUnit)> for TableIndent
impl From<(usize, TableIndentUnit)> for TableIndent
sourcefn from(val: (usize, TableIndentUnit)) -> Self
fn from(val: (usize, TableIndentUnit)) -> Self
Converts to this type from the input type.
sourceimpl From<TableIndentUnit> for TableIndent
impl From<TableIndentUnit> for TableIndent
sourcefn from(val: TableIndentUnit) -> Self
fn from(val: TableIndentUnit) -> Self
Converts to this type from the input type.
sourceimpl From<usize> for TableIndent
impl From<usize> for TableIndent
sourceimpl<'__input> XmlRead<'__input> for TableIndent
impl<'__input> XmlRead<'__input> for TableIndent
Auto Trait Implementations
impl RefUnwindSafe for TableIndent
impl Send for TableIndent
impl Sync for TableIndent
impl Unpin for TableIndent
impl UnwindSafe for TableIndent
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