pub struct TransitionBehaviorStyleValue<'a>(pub CommaSeparated<'a, TransitionBehaviorValue>);Expand description
Represents the style value for transition-behavior as defined in css-transitions-2.
The transition-behavior: allow-discrete CSS declaration allows transitions for properties whose animation behavior is discrete. Such properties can’t be interpolated and swap from their start value to the end value at 50%.
The grammar is defined as:
<transition-behavior-value>#Tuple Fields§
§0: CommaSeparated<'a, TransitionBehaviorValue>Trait Implementations§
Source§impl<'a> Clone for TransitionBehaviorStyleValue<'a>
impl<'a> Clone for TransitionBehaviorStyleValue<'a>
Source§fn clone(&self) -> TransitionBehaviorStyleValue<'a>
fn clone(&self) -> TransitionBehaviorStyleValue<'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 TransitionBehaviorStyleValue<'a>
impl<'a> Debug for TransitionBehaviorStyleValue<'a>
Source§impl<'a> Hash for TransitionBehaviorStyleValue<'a>
impl<'a> Hash for TransitionBehaviorStyleValue<'a>
Source§impl<'a> Ord for TransitionBehaviorStyleValue<'a>
impl<'a> Ord for TransitionBehaviorStyleValue<'a>
Source§fn cmp(&self, other: &TransitionBehaviorStyleValue<'a>) -> Ordering
fn cmp(&self, other: &TransitionBehaviorStyleValue<'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 TransitionBehaviorStyleValue<'a>
impl<'a> Parse<'a> for TransitionBehaviorStyleValue<'a>
Source§impl<'a> PartialEq for TransitionBehaviorStyleValue<'a>
impl<'a> PartialEq for TransitionBehaviorStyleValue<'a>
Source§fn eq(&self, other: &TransitionBehaviorStyleValue<'a>) -> bool
fn eq(&self, other: &TransitionBehaviorStyleValue<'a>) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl<'a> PartialOrd for TransitionBehaviorStyleValue<'a>
impl<'a> PartialOrd for TransitionBehaviorStyleValue<'a>
Source§impl<'a> Peek<'a> for TransitionBehaviorStyleValue<'a>
impl<'a> Peek<'a> for TransitionBehaviorStyleValue<'a>
Source§impl<'a> ToCursors for TransitionBehaviorStyleValue<'a>
impl<'a> ToCursors for TransitionBehaviorStyleValue<'a>
fn to_cursors(&self, s: &mut impl CursorSink)
impl<'a> Eq for TransitionBehaviorStyleValue<'a>
impl<'a> StructuralPartialEq for TransitionBehaviorStyleValue<'a>
Auto Trait Implementations§
impl<'a> Freeze for TransitionBehaviorStyleValue<'a>
impl<'a> !RefUnwindSafe for TransitionBehaviorStyleValue<'a>
impl<'a> !Send for TransitionBehaviorStyleValue<'a>
impl<'a> !Sync for TransitionBehaviorStyleValue<'a>
impl<'a> Unpin for TransitionBehaviorStyleValue<'a>
impl<'a> !UnwindSafe for TransitionBehaviorStyleValue<'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