pub struct Keyframes {
pub name: String,
pub frames: Vec<(f32, Vec<Declaration>)>,
}Expand description
@keyframes アニメーション定義。
Fields§
§name: String§frames: Vec<(f32, Vec<Declaration>)>(offset 0.0..=1.0, そのオフセットでの宣言群)。offset 昇順。
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Keyframes
impl RefUnwindSafe for Keyframes
impl Send for Keyframes
impl Sync for Keyframes
impl Unpin for Keyframes
impl UnsafeUnpin for Keyframes
impl UnwindSafe for Keyframes
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