#[non_exhaustive]pub enum BorderTopStyle {
Dashed,
Dotted,
Double,
Groove,
Hidden,
Inset,
None,
Outset,
Ridge,
Solid,
}Expand description
A value of border-top-style.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Dashed
dashed.
Dotted
dotted.
Double
double.
Groove
groove.
Hidden
hidden.
Inset
inset.
None
none.
Outset
outset.
Ridge
ridge.
Solid
solid.
Trait Implementations§
Source§impl Clone for BorderTopStyle
impl Clone for BorderTopStyle
Source§fn clone(&self) -> BorderTopStyle
fn clone(&self) -> BorderTopStyle
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BorderTopStyle
impl Debug for BorderTopStyle
Source§impl Display for BorderTopStyle
impl Display for BorderTopStyle
Source§impl PartialEq for BorderTopStyle
impl PartialEq for BorderTopStyle
impl StructuralPartialEq for BorderTopStyle
Auto Trait Implementations§
impl Freeze for BorderTopStyle
impl RefUnwindSafe for BorderTopStyle
impl Send for BorderTopStyle
impl Sync for BorderTopStyle
impl Unpin for BorderTopStyle
impl UnsafeUnpin for BorderTopStyle
impl UnwindSafe for BorderTopStyle
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