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