pub enum KeyframeOffset {
Percent(f64),
Range(String, f64),
}Expand description
A keyframe selector: from is 0%, to 100%, and Scroll Animations 1
adds a range name before a percentage, entry 50%.
Variants§
Trait Implementations§
Source§impl Clone for KeyframeOffset
impl Clone for KeyframeOffset
Source§fn clone(&self) -> KeyframeOffset
fn clone(&self) -> KeyframeOffset
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 KeyframeOffset
impl Debug for KeyframeOffset
Source§impl Display for KeyframeOffset
impl Display for KeyframeOffset
Source§impl PartialEq for KeyframeOffset
impl PartialEq for KeyframeOffset
impl StructuralPartialEq for KeyframeOffset
Auto Trait Implementations§
impl Forget for KeyframeOffset
impl Freeze for KeyframeOffset
impl Move for KeyframeOffset
impl RefUnwindSafe for KeyframeOffset
impl Send for KeyframeOffset
impl Sync for KeyframeOffset
impl Unpin for KeyframeOffset
impl UnsafeUnpin for KeyframeOffset
impl UnwindSafe for KeyframeOffset
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