pub enum FormatBorderType {
Show 14 variants
None,
Thin,
Medium,
Dashed,
Dotted,
Thick,
Double,
Hair,
MediumDashed,
DashDot,
MediumDashDot,
DashDotDot,
MediumDashDotDot,
SlantDashDot,
}
Expand description
Enumeration of different border type
§Fields:
unit | meaning |
---|---|
None | Default, No border |
Thin | Thin line |
Medium | Medium line |
Dashed | Dashed line |
Dotted | Dotted line |
Thick | Thick line |
Double | Double line |
Hair | Hairline |
MediumDashed | Medium dashed line |
DashDot | Dash-dot line |
MediumDashDot | Medium dash-dot line |
DashDotDot | Dash-dot-dot line |
MediumDashDotDot | Medium dash-dot-dot line |
SlantDashDot | Slanted dash-dot-dot line |
Variants§
None
Default, No border
Thin
Thin line
Medium
Medium line
Dashed
Dashed line
Dotted
Dotted line
Thick
Thick line
Double
Double line
Hair
Hairline
MediumDashed
Medium dashed line
DashDot
Dash-dot line
MediumDashDot
Medium dash-dot line
DashDotDot
Dash-dot-dot line
MediumDashDotDot
Medium dash-dot-dot line
SlantDashDot
Slanted dash-dot-dot line
Trait Implementations§
Source§impl Clone for FormatBorderType
impl Clone for FormatBorderType
Source§fn clone(&self) -> FormatBorderType
fn clone(&self) -> FormatBorderType
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 FormatBorderType
impl Debug for FormatBorderType
Source§impl Default for FormatBorderType
impl Default for FormatBorderType
Source§fn default() -> FormatBorderType
fn default() -> FormatBorderType
Returns the “default value” for a type. Read more
Source§impl Display for FormatBorderType
impl Display for FormatBorderType
Source§impl PartialEq for FormatBorderType
impl PartialEq for FormatBorderType
impl Copy for FormatBorderType
impl StructuralPartialEq for FormatBorderType
Auto Trait Implementations§
impl Freeze for FormatBorderType
impl RefUnwindSafe for FormatBorderType
impl Send for FormatBorderType
impl Sync for FormatBorderType
impl Unpin for FormatBorderType
impl UnwindSafe for FormatBorderType
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