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