pub struct BorderWidthStyleValue(pub BorderTopWidthStyleValue, pub Option<BorderTopWidthStyleValue>, pub Option<BorderTopWidthStyleValue>, pub Option<BorderTopWidthStyleValue>);Expand description
Represents the style value for border-width as defined in css-borders-4.
The border CSS property sets the color, style, and width of the line around an element.
The grammar is defined as:
<'border-top-width'>{1,4}Tuple Fields§
§0: BorderTopWidthStyleValue§1: Option<BorderTopWidthStyleValue>§2: Option<BorderTopWidthStyleValue>§3: Option<BorderTopWidthStyleValue>Trait Implementations§
Source§impl Clone for BorderWidthStyleValue
impl Clone for BorderWidthStyleValue
Source§fn clone(&self) -> BorderWidthStyleValue
fn clone(&self) -> BorderWidthStyleValue
Returns a duplicate of the value. Read more
1.0.0 · 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 BorderWidthStyleValue
impl Debug for BorderWidthStyleValue
Source§impl Hash for BorderWidthStyleValue
impl Hash for BorderWidthStyleValue
Source§impl Ord for BorderWidthStyleValue
impl Ord for BorderWidthStyleValue
Source§fn cmp(&self, other: &BorderWidthStyleValue) -> Ordering
fn cmp(&self, other: &BorderWidthStyleValue) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<'a> Parse<'a> for BorderWidthStyleValue
impl<'a> Parse<'a> for BorderWidthStyleValue
Source§impl PartialEq for BorderWidthStyleValue
impl PartialEq for BorderWidthStyleValue
Source§impl PartialOrd for BorderWidthStyleValue
impl PartialOrd for BorderWidthStyleValue
Source§impl<'a> Peek<'a> for BorderWidthStyleValue
impl<'a> Peek<'a> for BorderWidthStyleValue
Source§impl ToCursors for BorderWidthStyleValue
impl ToCursors for BorderWidthStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for BorderWidthStyleValue
impl StructuralPartialEq for BorderWidthStyleValue
Auto Trait Implementations§
impl Freeze for BorderWidthStyleValue
impl RefUnwindSafe for BorderWidthStyleValue
impl Send for BorderWidthStyleValue
impl Sync for BorderWidthStyleValue
impl Unpin for BorderWidthStyleValue
impl UnwindSafe for BorderWidthStyleValue
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