pub struct BorderRightWidthStyleValue(pub LineWidth);Expand description
Represents the style value for border-right-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:
<line-width>Tuple Fields§
§0: LineWidthTrait Implementations§
Source§impl Clone for BorderRightWidthStyleValue
impl Clone for BorderRightWidthStyleValue
Source§fn clone(&self) -> BorderRightWidthStyleValue
fn clone(&self) -> BorderRightWidthStyleValue
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 BorderRightWidthStyleValue
impl Debug for BorderRightWidthStyleValue
Source§impl Hash for BorderRightWidthStyleValue
impl Hash for BorderRightWidthStyleValue
Source§impl Ord for BorderRightWidthStyleValue
impl Ord for BorderRightWidthStyleValue
Source§fn cmp(&self, other: &BorderRightWidthStyleValue) -> Ordering
fn cmp(&self, other: &BorderRightWidthStyleValue) -> 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 BorderRightWidthStyleValue
impl<'a> Parse<'a> for BorderRightWidthStyleValue
Source§impl PartialOrd for BorderRightWidthStyleValue
impl PartialOrd for BorderRightWidthStyleValue
Source§impl<'a> Peek<'a> for BorderRightWidthStyleValue
impl<'a> Peek<'a> for BorderRightWidthStyleValue
Source§impl ToCursors for BorderRightWidthStyleValue
impl ToCursors for BorderRightWidthStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for BorderRightWidthStyleValue
impl StructuralPartialEq for BorderRightWidthStyleValue
Auto Trait Implementations§
impl Freeze for BorderRightWidthStyleValue
impl RefUnwindSafe for BorderRightWidthStyleValue
impl Send for BorderRightWidthStyleValue
impl Sync for BorderRightWidthStyleValue
impl Unpin for BorderRightWidthStyleValue
impl UnwindSafe for BorderRightWidthStyleValue
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