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