pub struct Key<T> {
pub t: f64,
pub v: T,
pub ease: Option<EasingChoice>,
}Expand description
One keyed value.
Fields§
§t: f64Seconds from the node’s start.
v: TThe value.
ease: Option<EasingChoice>The timing curve to the next key. Default linear.
Trait Implementations§
Source§impl<'de, T> Deserialize<'de> for Key<T>where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for Key<T>where
T: Deserialize<'de>,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl<T: PartialEq> StructuralPartialEq for Key<T>
Auto Trait Implementations§
impl<T> Forget for Key<T>
impl<T> Freeze for Key<T>where
T: Freeze,
impl<T> Move for Key<T>
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