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