pub struct Keyframe {
pub offset: f32,
pub timing: Timing,
pub from_presented: bool,
pub value: KeyframeValue,
}Fields§
§offset: f32Where in an iteration this keyframe stands, from 0 to 1.
timing: TimingHow the segment from this keyframe to the next is timed.
from_presented: boolStarts from whatever the node shows the frame this animation begins, instead of
value. Only the first keyframe may say so: it is how a CSS transition that
changes course midway carries on from where it was without a jump.
value: KeyframeValueTrait Implementations§
impl StructuralPartialEq for Keyframe
Auto Trait Implementations§
impl Freeze for Keyframe
impl RefUnwindSafe for Keyframe
impl Send for Keyframe
impl Sync for Keyframe
impl Unpin for Keyframe
impl UnsafeUnpin for Keyframe
impl UnwindSafe for Keyframe
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