#[non_exhaustive]pub enum Border {
}Expand description
A value of border.
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 Border
Auto Trait Implementations§
impl Freeze for Border
impl RefUnwindSafe for Border
impl Send for Border
impl Sync for Border
impl Unpin for Border
impl UnsafeUnpin for Border
impl UnwindSafe for Border
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