pub enum InterpolateSizeStyleValue {
NumericOnly(Ident),
AllowKeywords(Ident),
}Expand description
Represents the style value for interpolate-size as defined in css-values-5.
The interpolate-size CSS property sets whether animations and transitions interpolate between a numeric value and a keyword value, such as from a fixed length to auto or fit-content.
The grammar is defined as:
numeric-only | allow-keywordsVariants§
Trait Implementations§
Source§impl Clone for InterpolateSizeStyleValue
impl Clone for InterpolateSizeStyleValue
Source§fn clone(&self) -> InterpolateSizeStyleValue
fn clone(&self) -> InterpolateSizeStyleValue
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 InterpolateSizeStyleValue
impl Debug for InterpolateSizeStyleValue
Source§impl Hash for InterpolateSizeStyleValue
impl Hash for InterpolateSizeStyleValue
Source§impl Ord for InterpolateSizeStyleValue
impl Ord for InterpolateSizeStyleValue
Source§fn cmp(&self, other: &InterpolateSizeStyleValue) -> Ordering
fn cmp(&self, other: &InterpolateSizeStyleValue) -> 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 InterpolateSizeStyleValue
impl<'a> Parse<'a> for InterpolateSizeStyleValue
Source§impl PartialOrd for InterpolateSizeStyleValue
impl PartialOrd for InterpolateSizeStyleValue
Source§impl<'a> Peek<'a> for InterpolateSizeStyleValue
impl<'a> Peek<'a> for InterpolateSizeStyleValue
Source§impl ToCursors for InterpolateSizeStyleValue
impl ToCursors for InterpolateSizeStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for InterpolateSizeStyleValue
impl StructuralPartialEq for InterpolateSizeStyleValue
Auto Trait Implementations§
impl Freeze for InterpolateSizeStyleValue
impl RefUnwindSafe for InterpolateSizeStyleValue
impl Send for InterpolateSizeStyleValue
impl Sync for InterpolateSizeStyleValue
impl Unpin for InterpolateSizeStyleValue
impl UnwindSafe for InterpolateSizeStyleValue
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