pub enum Param {
Value(f64),
Keys(Vec<Key>),
Expr(ExprParam),
}Expand description
A number, keyframes over the clip’s source time (docs/timeline.md), or an expression over
it (st, docs/compositing.md#expressions). An array holding any object is keys, and a
key that doesn’t read is an error (never an expression, whose ease is another curve).
Variants§
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Param
impl<'de> Deserialize<'de> for Param
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Param
Auto Trait Implementations§
impl Forget for Param
impl Freeze for Param
impl RefUnwindSafe for Param
impl Send for Param
impl Sync for Param
impl Unpin for Param
impl UnsafeUnpin for Param
impl UnwindSafe for Param
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