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