#[non_exhaustive]pub enum BorderTop {
}Expand description
A value of border-top.
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.
Medium
medium.
None
none.
Outset
outset.
Ridge
ridge.
Solid
solid.
Thick
thick.
Thin
thin.
Length(Length)
A length.
Color(Color)
A color.
Raw(Raw)
Any other value, passed through unchecked.
Trait Implementations§
impl StructuralPartialEq for BorderTop
Auto Trait Implementations§
impl Freeze for BorderTop
impl RefUnwindSafe for BorderTop
impl Send for BorderTop
impl Sync for BorderTop
impl Unpin for BorderTop
impl UnsafeUnpin for BorderTop
impl UnwindSafe for BorderTop
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