pub struct BorderInlineStartStyleValue {
pub line_width: Option<LineWidth>,
pub line_style: Option<LineStyle>,
pub color: Option<Color>,
}Expand description
Represents the style value for border-inline-start as defined in css-borders-4.
CSS logical properties control borders, size, margin, and padding with directions and dimensions relative to the writing mode. For example, in a left to right, top to bottom writing mode, block-end refers to the bottom. Also known as flow relative.
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 BorderInlineStartStyleValue
impl Clone for BorderInlineStartStyleValue
Source§fn clone(&self) -> BorderInlineStartStyleValue
fn clone(&self) -> BorderInlineStartStyleValue
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 BorderInlineStartStyleValue
impl Debug for BorderInlineStartStyleValue
Source§impl Hash for BorderInlineStartStyleValue
impl Hash for BorderInlineStartStyleValue
Source§impl Ord for BorderInlineStartStyleValue
impl Ord for BorderInlineStartStyleValue
Source§fn cmp(&self, other: &BorderInlineStartStyleValue) -> Ordering
fn cmp(&self, other: &BorderInlineStartStyleValue) -> 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 BorderInlineStartStyleValue
impl<'a> Parse<'a> for BorderInlineStartStyleValue
Source§impl PartialOrd for BorderInlineStartStyleValue
impl PartialOrd for BorderInlineStartStyleValue
Source§impl<'a> Peek<'a> for BorderInlineStartStyleValue
impl<'a> Peek<'a> for BorderInlineStartStyleValue
Source§impl ToCursors for BorderInlineStartStyleValue
impl ToCursors for BorderInlineStartStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for BorderInlineStartStyleValue
impl StructuralPartialEq for BorderInlineStartStyleValue
Auto Trait Implementations§
impl Freeze for BorderInlineStartStyleValue
impl RefUnwindSafe for BorderInlineStartStyleValue
impl Send for BorderInlineStartStyleValue
impl Sync for BorderInlineStartStyleValue
impl Unpin for BorderInlineStartStyleValue
impl UnwindSafe for BorderInlineStartStyleValue
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