pub struct TableCellBorder {
pub border_type: BorderType,
pub size: usize,
pub color: String,
/* private fields */
}
Fields§
§border_type: BorderType
§size: usize
§color: String
Implementations§
Source§impl TableCellBorder
impl TableCellBorder
pub fn new(position: TableCellBorderPosition) -> TableCellBorder
pub fn color(self, color: impl Into<String>) -> TableCellBorder
pub fn size(self, size: usize) -> TableCellBorder
pub fn border_type(self, border_type: BorderType) -> TableCellBorder
pub fn get_size(&self) -> usize
pub fn get_color(&self) -> String
pub fn get_border_type(&self) -> BorderType
Trait Implementations§
Source§impl Clone for TableCellBorder
impl Clone for TableCellBorder
Source§fn clone(&self) -> TableCellBorder
fn clone(&self) -> TableCellBorder
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 TableCellBorder
impl Debug for TableCellBorder
Source§impl PartialEq for TableCellBorder
impl PartialEq for TableCellBorder
Source§impl Serialize for TableCellBorder
impl Serialize for TableCellBorder
impl StructuralPartialEq for TableCellBorder
Auto Trait Implementations§
impl Freeze for TableCellBorder
impl RefUnwindSafe for TableCellBorder
impl Send for TableCellBorder
impl Sync for TableCellBorder
impl Unpin for TableCellBorder
impl UnwindSafe for TableCellBorder
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