pub struct InlineSizeStyleValue(pub WidthStyleValue);Expand description
Represents the style value for inline-size as defined in css-logical-1.
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:
<'width'>Tuple Fields§
§0: WidthStyleValueTrait Implementations§
Source§impl Clone for InlineSizeStyleValue
impl Clone for InlineSizeStyleValue
Source§fn clone(&self) -> InlineSizeStyleValue
fn clone(&self) -> InlineSizeStyleValue
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 InlineSizeStyleValue
impl Debug for InlineSizeStyleValue
Source§impl Hash for InlineSizeStyleValue
impl Hash for InlineSizeStyleValue
Source§impl Ord for InlineSizeStyleValue
impl Ord for InlineSizeStyleValue
Source§fn cmp(&self, other: &InlineSizeStyleValue) -> Ordering
fn cmp(&self, other: &InlineSizeStyleValue) -> 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 InlineSizeStyleValue
impl<'a> Parse<'a> for InlineSizeStyleValue
Source§impl PartialEq for InlineSizeStyleValue
impl PartialEq for InlineSizeStyleValue
Source§impl PartialOrd for InlineSizeStyleValue
impl PartialOrd for InlineSizeStyleValue
Source§impl<'a> Peek<'a> for InlineSizeStyleValue
impl<'a> Peek<'a> for InlineSizeStyleValue
Source§impl ToCursors for InlineSizeStyleValue
impl ToCursors for InlineSizeStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for InlineSizeStyleValue
impl StructuralPartialEq for InlineSizeStyleValue
Auto Trait Implementations§
impl Freeze for InlineSizeStyleValue
impl RefUnwindSafe for InlineSizeStyleValue
impl Send for InlineSizeStyleValue
impl Sync for InlineSizeStyleValue
impl Unpin for InlineSizeStyleValue
impl UnwindSafe for InlineSizeStyleValue
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