pub struct Key<T> {
pub t: f64,
pub v: T,
pub ease: Ease,
}Expand description
A keyframe: value v at t on the track’s Clock, ease shaping the segment to the
next key.
Fields§
§t: f64§v: T§ease: EaseTrait Implementations§
impl<T> Copy for Key<T>where
T: Copy,
impl<T> StructuralPartialEq for Key<T>where
T: PartialEq,
Auto Trait Implementations§
impl<T> Forget for Key<T>
impl<T> Freeze for Key<T>where
T: Freeze,
impl<T> RefUnwindSafe for Key<T>where
T: RefUnwindSafe,
impl<T> Send for Key<T>where
T: Send,
impl<T> Sync for Key<T>where
T: Sync,
impl<T> Unpin for Key<T>where
T: Unpin,
impl<T> UnsafeUnpin for Key<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for Key<T>where
T: UnwindSafe,
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