Struct docx_rust::formatting::TableIndent
source · pub struct TableIndent {
pub value: Option<isize>,
pub unit: Option<TableIndentUnit>,
}Expand description
Table Indent
use docx_rust::formatting::*;
let ind = TableIndent::from(42);
let ind = TableIndent::from(TableIndentUnit::Pct);
let ind = TableIndent::from((42, TableIndentUnit::Dxa));Fields§
§value: Option<isize>§unit: Option<TableIndentUnit>Trait Implementations§
source§impl Clone for TableIndent
impl Clone for TableIndent
source§fn clone(&self) -> TableIndent
fn clone(&self) -> TableIndent
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 TableIndent
impl Debug for TableIndent
source§impl Default for TableIndent
impl Default for TableIndent
source§fn default() -> TableIndent
fn default() -> TableIndent
Returns the “default value” for a type. Read more
source§impl From<(isize, TableIndentUnit)> for TableIndent
impl From<(isize, TableIndentUnit)> for TableIndent
source§fn from(val: (isize, TableIndentUnit)) -> Self
fn from(val: (isize, TableIndentUnit)) -> Self
Converts to this type from the input type.
source§impl From<TableIndentUnit> for TableIndent
impl From<TableIndentUnit> for TableIndent
source§fn from(val: TableIndentUnit) -> Self
fn from(val: TableIndentUnit) -> Self
Converts to this type from the input type.
source§impl From<isize> for TableIndent
impl From<isize> for TableIndent
source§impl<'__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§
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