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