Struct docx_rs::TableCellProperty
source · pub struct TableCellProperty { /* private fields */ }
Implementations§
source§impl TableCellProperty
impl TableCellProperty
pub fn new() -> TableCellProperty
pub fn width(self, v: usize, t: WidthType) -> TableCellProperty
pub fn vertical_merge(self, t: VMergeType) -> TableCellProperty
pub fn vertical_align(self, t: VAlignType) -> TableCellProperty
pub fn text_direction(self, t: TextDirectionType) -> Self
pub fn grid_span(self, v: usize) -> TableCellProperty
pub fn shading(self, s: Shading) -> Self
pub fn set_borders(self, borders: TableCellBorders) -> Self
pub fn set_border(self, border: TableCellBorder) -> Self
pub fn clear_border(self, position: TableCellBorderPosition) -> Self
pub fn clear_all_border(self) -> Self
pub fn margins(self, margins: CellMargins) -> Self
pub fn margin_top(self, v: usize, t: WidthType) -> Self
pub fn margin_right(self, v: usize, t: WidthType) -> Self
pub fn margin_bottom(self, v: usize, t: WidthType) -> Self
pub fn margin_left(self, v: usize, t: WidthType) -> Self
Trait Implementations§
source§impl Clone for TableCellProperty
impl Clone for TableCellProperty
source§fn clone(&self) -> TableCellProperty
fn clone(&self) -> TableCellProperty
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 TableCellProperty
impl Debug for TableCellProperty
source§impl Default for TableCellProperty
impl Default for TableCellProperty
source§fn default() -> TableCellProperty
fn default() -> TableCellProperty
Returns the “default value” for a type. Read more
source§impl ElementReader for TableCellProperty
impl ElementReader for TableCellProperty
fn read<R: Read>( r: &mut EventReader<R>, _: &[OwnedAttribute] ) -> Result<Self, ReaderError>
source§impl PartialEq for TableCellProperty
impl PartialEq for TableCellProperty
source§fn eq(&self, other: &TableCellProperty) -> bool
fn eq(&self, other: &TableCellProperty) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for TableCellProperty
impl Serialize for TableCellProperty
impl StructuralPartialEq for TableCellProperty
Auto Trait Implementations§
impl Freeze for TableCellProperty
impl RefUnwindSafe for TableCellProperty
impl Send for TableCellProperty
impl Sync for TableCellProperty
impl Unpin for TableCellProperty
impl UnwindSafe for TableCellProperty
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