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