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