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