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