pub struct BorderRightStyleValue {
pub line_width: Option<LineWidth>,
pub line_style: Option<LineStyle>,
pub color: Option<Color>,
}Expand description
Represents the style value for border-right 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> || <line-style> || <color>Fields§
§line_width: Option<LineWidth>§line_style: Option<LineStyle>§color: Option<Color>Trait Implementations§
Source§impl Clone for BorderRightStyleValue
impl Clone for BorderRightStyleValue
Source§fn clone(&self) -> BorderRightStyleValue
fn clone(&self) -> BorderRightStyleValue
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 BorderRightStyleValue
impl Debug for BorderRightStyleValue
Source§impl Hash for BorderRightStyleValue
impl Hash for BorderRightStyleValue
Source§impl Ord for BorderRightStyleValue
impl Ord for BorderRightStyleValue
Source§fn cmp(&self, other: &BorderRightStyleValue) -> Ordering
fn cmp(&self, other: &BorderRightStyleValue) -> 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 BorderRightStyleValue
impl<'a> Parse<'a> for BorderRightStyleValue
Source§impl PartialEq for BorderRightStyleValue
impl PartialEq for BorderRightStyleValue
Source§impl PartialOrd for BorderRightStyleValue
impl PartialOrd for BorderRightStyleValue
Source§impl<'a> Peek<'a> for BorderRightStyleValue
impl<'a> Peek<'a> for BorderRightStyleValue
Source§impl ToCursors for BorderRightStyleValue
impl ToCursors for BorderRightStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for BorderRightStyleValue
impl StructuralPartialEq for BorderRightStyleValue
Auto Trait Implementations§
impl Freeze for BorderRightStyleValue
impl RefUnwindSafe for BorderRightStyleValue
impl Send for BorderRightStyleValue
impl Sync for BorderRightStyleValue
impl Unpin for BorderRightStyleValue
impl UnwindSafe for BorderRightStyleValue
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