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.