pub struct BorderInlineWidthStyleValue(pub BorderTopWidthStyleValue, pub Option<BorderTopWidthStyleValue>);Expand description
Represents the style value for border-inline-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:
<'border-top-width'>{1,2}Tuple Fields§
§0: BorderTopWidthStyleValue§1: Option<BorderTopWidthStyleValue>Trait Implementations§
Source§impl Clone for BorderInlineWidthStyleValue
impl Clone for BorderInlineWidthStyleValue
Source§fn clone(&self) -> BorderInlineWidthStyleValue
fn clone(&self) -> BorderInlineWidthStyleValue
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 BorderInlineWidthStyleValue
impl Debug for BorderInlineWidthStyleValue
Source§impl Hash for BorderInlineWidthStyleValue
impl Hash for BorderInlineWidthStyleValue
Source§impl Ord for BorderInlineWidthStyleValue
impl Ord for BorderInlineWidthStyleValue
Source§fn cmp(&self, other: &BorderInlineWidthStyleValue) -> Ordering
fn cmp(&self, other: &BorderInlineWidthStyleValue) -> 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 BorderInlineWidthStyleValue
impl<'a> Parse<'a> for BorderInlineWidthStyleValue
Source§impl PartialOrd for BorderInlineWidthStyleValue
impl PartialOrd for BorderInlineWidthStyleValue
Source§impl<'a> Peek<'a> for BorderInlineWidthStyleValue
impl<'a> Peek<'a> for BorderInlineWidthStyleValue
Source§impl ToCursors for BorderInlineWidthStyleValue
impl ToCursors for BorderInlineWidthStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for BorderInlineWidthStyleValue
impl StructuralPartialEq for BorderInlineWidthStyleValue
Auto Trait Implementations§
impl Freeze for BorderInlineWidthStyleValue
impl RefUnwindSafe for BorderInlineWidthStyleValue
impl Send for BorderInlineWidthStyleValue
impl Sync for BorderInlineWidthStyleValue
impl Unpin for BorderInlineWidthStyleValue
impl UnwindSafe for BorderInlineWidthStyleValue
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