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