pub struct BorderBlockStartWidthStyleValue(pub LineWidth);Expand description
Represents the style value for border-block-start-width 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>Tuple Fields§
§0: LineWidthTrait Implementations§
Source§impl Clone for BorderBlockStartWidthStyleValue
impl Clone for BorderBlockStartWidthStyleValue
Source§fn clone(&self) -> BorderBlockStartWidthStyleValue
fn clone(&self) -> BorderBlockStartWidthStyleValue
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 Ord for BorderBlockStartWidthStyleValue
impl Ord for BorderBlockStartWidthStyleValue
Source§fn cmp(&self, other: &BorderBlockStartWidthStyleValue) -> Ordering
fn cmp(&self, other: &BorderBlockStartWidthStyleValue) -> 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 BorderBlockStartWidthStyleValue
impl<'a> Parse<'a> for BorderBlockStartWidthStyleValue
Source§impl PartialEq for BorderBlockStartWidthStyleValue
impl PartialEq for BorderBlockStartWidthStyleValue
Source§fn eq(&self, other: &BorderBlockStartWidthStyleValue) -> bool
fn eq(&self, other: &BorderBlockStartWidthStyleValue) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for BorderBlockStartWidthStyleValue
impl PartialOrd for BorderBlockStartWidthStyleValue
Source§impl<'a> Peek<'a> for BorderBlockStartWidthStyleValue
impl<'a> Peek<'a> for BorderBlockStartWidthStyleValue
Source§impl ToCursors for BorderBlockStartWidthStyleValue
impl ToCursors for BorderBlockStartWidthStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for BorderBlockStartWidthStyleValue
impl StructuralPartialEq for BorderBlockStartWidthStyleValue
Auto Trait Implementations§
impl Freeze for BorderBlockStartWidthStyleValue
impl RefUnwindSafe for BorderBlockStartWidthStyleValue
impl Send for BorderBlockStartWidthStyleValue
impl Sync for BorderBlockStartWidthStyleValue
impl Unpin for BorderBlockStartWidthStyleValue
impl UnwindSafe for BorderBlockStartWidthStyleValue
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