#[non_exhaustive]pub enum BorderRight {
}Expand description
A value of border-right.
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§
Source§impl Clone for BorderRight
impl Clone for BorderRight
Source§fn clone(&self) -> BorderRight
fn clone(&self) -> BorderRight
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 BorderRight
impl Debug for BorderRight
Source§impl Display for BorderRight
impl Display for BorderRight
Source§impl From<Color> for BorderRight
impl From<Color> for BorderRight
Source§impl From<Length> for BorderRight
impl From<Length> for BorderRight
Source§impl From<Raw> for BorderRight
impl From<Raw> for BorderRight
Source§impl PartialEq for BorderRight
impl PartialEq for BorderRight
impl StructuralPartialEq for BorderRight
Auto Trait Implementations§
impl Freeze for BorderRight
impl RefUnwindSafe for BorderRight
impl Send for BorderRight
impl Sync for BorderRight
impl Unpin for BorderRight
impl UnsafeUnpin for BorderRight
impl UnwindSafe for BorderRight
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