pub struct TransitionPropertyStyleValue<'a>(pub NoneOr<CommaSeparated<'a, SingleTransitionProperty>>);Expand description
Represents the style value for transition-property as defined in css-transitions-2.
The transition shorthand CSS property sets how changes to an element’s styles may occur over time. Transitions can be applied to specific CSS properties, all properties, or none.
The grammar is defined as:
none | <single-transition-property>#Tuple Fields§
§0: NoneOr<CommaSeparated<'a, SingleTransitionProperty>>Trait Implementations§
Source§impl<'a> Clone for TransitionPropertyStyleValue<'a>
impl<'a> Clone for TransitionPropertyStyleValue<'a>
Source§fn clone(&self) -> TransitionPropertyStyleValue<'a>
fn clone(&self) -> TransitionPropertyStyleValue<'a>
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<'a> Debug for TransitionPropertyStyleValue<'a>
impl<'a> Debug for TransitionPropertyStyleValue<'a>
Source§impl<'a> Hash for TransitionPropertyStyleValue<'a>
impl<'a> Hash for TransitionPropertyStyleValue<'a>
Source§impl<'a> Ord for TransitionPropertyStyleValue<'a>
impl<'a> Ord for TransitionPropertyStyleValue<'a>
Source§fn cmp(&self, other: &TransitionPropertyStyleValue<'a>) -> Ordering
fn cmp(&self, other: &TransitionPropertyStyleValue<'a>) -> 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 TransitionPropertyStyleValue<'a>
impl<'a> Parse<'a> for TransitionPropertyStyleValue<'a>
Source§impl<'a> PartialEq for TransitionPropertyStyleValue<'a>
impl<'a> PartialEq for TransitionPropertyStyleValue<'a>
Source§fn eq(&self, other: &TransitionPropertyStyleValue<'a>) -> bool
fn eq(&self, other: &TransitionPropertyStyleValue<'a>) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl<'a> PartialOrd for TransitionPropertyStyleValue<'a>
impl<'a> PartialOrd for TransitionPropertyStyleValue<'a>
Source§impl<'a> Peek<'a> for TransitionPropertyStyleValue<'a>
impl<'a> Peek<'a> for TransitionPropertyStyleValue<'a>
Source§impl<'a> ToCursors for TransitionPropertyStyleValue<'a>
impl<'a> ToCursors for TransitionPropertyStyleValue<'a>
fn to_cursors(&self, s: &mut impl CursorSink)
impl<'a> Eq for TransitionPropertyStyleValue<'a>
impl<'a> StructuralPartialEq for TransitionPropertyStyleValue<'a>
Auto Trait Implementations§
impl<'a> Freeze for TransitionPropertyStyleValue<'a>
impl<'a> !RefUnwindSafe for TransitionPropertyStyleValue<'a>
impl<'a> !Send for TransitionPropertyStyleValue<'a>
impl<'a> !Sync for TransitionPropertyStyleValue<'a>
impl<'a> Unpin for TransitionPropertyStyleValue<'a>
impl<'a> !UnwindSafe for TransitionPropertyStyleValue<'a>
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