#[non_exhaustive]pub enum BorderBlockWidth {
Medium,
Thick,
Thin,
Length(Length),
Raw(Raw),
}Expand description
A value of border-block-width.
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.
Medium
medium.
Thick
thick.
Thin
thin.
Length(Length)
A length.
Raw(Raw)
Any other value, passed through unchecked.
Trait Implementations§
Source§impl Clone for BorderBlockWidth
impl Clone for BorderBlockWidth
Source§fn clone(&self) -> BorderBlockWidth
fn clone(&self) -> BorderBlockWidth
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 BorderBlockWidth
impl Debug for BorderBlockWidth
Source§impl Display for BorderBlockWidth
impl Display for BorderBlockWidth
Source§impl From<Length> for BorderBlockWidth
impl From<Length> for BorderBlockWidth
Source§impl From<Raw> for BorderBlockWidth
impl From<Raw> for BorderBlockWidth
Source§impl PartialEq for BorderBlockWidth
impl PartialEq for BorderBlockWidth
impl StructuralPartialEq for BorderBlockWidth
Auto Trait Implementations§
impl Freeze for BorderBlockWidth
impl RefUnwindSafe for BorderBlockWidth
impl Send for BorderBlockWidth
impl Sync for BorderBlockWidth
impl Unpin for BorderBlockWidth
impl UnsafeUnpin for BorderBlockWidth
impl UnwindSafe for BorderBlockWidth
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