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