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