pub struct KeyframesDefinition {
pub name: String,
pub keyframes: Vec<KeyframeBlock>,
}Expand description
A parsed @keyframes definition
Fields§
§name: StringName of the keyframes animation
keyframes: Vec<KeyframeBlock>Keyframe blocks (percent + declarations)
Trait Implementations§
Source§impl Clone for KeyframesDefinition
impl Clone for KeyframesDefinition
Source§fn clone(&self) -> KeyframesDefinition
fn clone(&self) -> KeyframesDefinition
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 moreAuto Trait Implementations§
impl Freeze for KeyframesDefinition
impl RefUnwindSafe for KeyframesDefinition
impl Send for KeyframesDefinition
impl Sync for KeyframesDefinition
impl Unpin for KeyframesDefinition
impl UnsafeUnpin for KeyframesDefinition
impl UnwindSafe for KeyframesDefinition
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