pub struct TableProperty { /* private fields */ }
Implementations§
Source§impl TableProperty
impl TableProperty
pub fn new() -> TableProperty
pub fn without_borders() -> TableProperty
pub fn indent(self, v: i32) -> TableProperty
pub fn width(self, v: usize, t: WidthType) -> TableProperty
pub fn align(self, v: TableAlignmentType) -> TableProperty
pub fn set_margins(self, margins: TableCellMargins) -> Self
pub fn cell_margin_top(self, v: usize, t: WidthType) -> Self
pub fn cell_margin_right(self, v: usize, t: WidthType) -> Self
pub fn cell_margin_bottom(self, v: usize, t: WidthType) -> Self
pub fn cell_margin_left(self, v: usize, t: WidthType) -> Self
pub fn set_borders(self, borders: TableBorders) -> Self
pub fn set_border(self, border: TableBorder) -> Self
pub fn clear_border(self, position: TableBorderPosition) -> Self
pub fn clear_all_border(self) -> Self
pub fn style(self, s: impl Into<String>) -> Self
pub fn layout(self, t: TableLayoutType) -> Self
Trait Implementations§
Source§impl Clone for TableProperty
impl Clone for TableProperty
Source§fn clone(&self) -> TableProperty
fn clone(&self) -> TableProperty
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 TableProperty
impl Debug for TableProperty
Source§impl Default for TableProperty
impl Default for TableProperty
Source§impl ElementReader for TableProperty
impl ElementReader for TableProperty
fn read<R: Read>( r: &mut EventReader<R>, _attrs: &[OwnedAttribute], ) -> Result<Self, ReaderError>
Source§impl PartialEq for TableProperty
impl PartialEq for TableProperty
Source§impl Serialize for TableProperty
impl Serialize for TableProperty
impl StructuralPartialEq for TableProperty
Auto Trait Implementations§
impl Freeze for TableProperty
impl RefUnwindSafe for TableProperty
impl Send for TableProperty
impl Sync for TableProperty
impl Unpin for TableProperty
impl UnwindSafe for TableProperty
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