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 Freeze for TableIndent
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