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