pub struct FormatBorder {
pub left: FormatBorderElement,
pub right: FormatBorderElement,
pub top: FormatBorderElement,
pub bottom: FormatBorderElement,
pub diagonal: FormatBorderElement,
}
Expand description
FormatBorder
is used to edit the border style of the Cell
in each direction.
§Fields
field | type | meaning |
---|---|---|
left | FormatBorderElement | The Cell ’s left border style |
right | FormatBorderElement | The Cell ’s right border style |
top | FormatBorderElement | The Cell ’s top border style |
bottom | FormatBorderElement | The Cell ’s bottom border style |
diagonal | FormatBorderElement | The Cell ’s diagonal border style |
Fields§
§left: FormatBorderElement
§right: FormatBorderElement
§top: FormatBorderElement
§bottom: FormatBorderElement
§diagonal: FormatBorderElement
Trait Implementations§
Source§impl Clone for FormatBorder
impl Clone for FormatBorder
Source§fn clone(&self) -> FormatBorder
fn clone(&self) -> FormatBorder
Returns a duplicate 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 FormatBorder
impl Debug for FormatBorder
Source§impl Default for FormatBorder
impl Default for FormatBorder
Source§fn default() -> FormatBorder
fn default() -> FormatBorder
Returns the “default value” for a type. Read more
Source§impl PartialEq for FormatBorder
impl PartialEq for FormatBorder
impl StructuralPartialEq for FormatBorder
Auto Trait Implementations§
impl Freeze for FormatBorder
impl RefUnwindSafe for FormatBorder
impl Send for FormatBorder
impl Sync for FormatBorder
impl Unpin for FormatBorder
impl UnwindSafe for FormatBorder
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