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