pub struct BorderStyleStyleValue(pub BorderTopStyleStyleValue, pub Option<BorderTopStyleStyleValue>, pub Option<BorderTopStyleStyleValue>, pub Option<BorderTopStyleStyleValue>);Expand description
Represents the style value for border-style 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-style'>{1,4}Tuple Fields§
§0: BorderTopStyleStyleValue§1: Option<BorderTopStyleStyleValue>§2: Option<BorderTopStyleStyleValue>§3: Option<BorderTopStyleStyleValue>Trait Implementations§
Source§impl Clone for BorderStyleStyleValue
impl Clone for BorderStyleStyleValue
Source§fn clone(&self) -> BorderStyleStyleValue
fn clone(&self) -> BorderStyleStyleValue
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 BorderStyleStyleValue
impl Debug for BorderStyleStyleValue
Source§impl Hash for BorderStyleStyleValue
impl Hash for BorderStyleStyleValue
Source§impl Ord for BorderStyleStyleValue
impl Ord for BorderStyleStyleValue
Source§fn cmp(&self, other: &BorderStyleStyleValue) -> Ordering
fn cmp(&self, other: &BorderStyleStyleValue) -> 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 BorderStyleStyleValue
impl<'a> Parse<'a> for BorderStyleStyleValue
Source§impl PartialEq for BorderStyleStyleValue
impl PartialEq for BorderStyleStyleValue
Source§impl PartialOrd for BorderStyleStyleValue
impl PartialOrd for BorderStyleStyleValue
Source§impl<'a> Peek<'a> for BorderStyleStyleValue
impl<'a> Peek<'a> for BorderStyleStyleValue
Source§impl ToCursors for BorderStyleStyleValue
impl ToCursors for BorderStyleStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for BorderStyleStyleValue
impl StructuralPartialEq for BorderStyleStyleValue
Auto Trait Implementations§
impl Freeze for BorderStyleStyleValue
impl RefUnwindSafe for BorderStyleStyleValue
impl Send for BorderStyleStyleValue
impl Sync for BorderStyleStyleValue
impl Unpin for BorderStyleStyleValue
impl UnwindSafe for BorderStyleStyleValue
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