pub struct ClipEffect {
pub id: String,
pub version: u32,
pub params: BTreeMap<String, Animated<EffectValue>>,
pub resources: BTreeMap<String, EffectResourceId>,
}Expand description
One versioned runtime effect invocation: a composition’s effect or transition node, or a timeline transition.
Fields§
§id: StringStable effect definition identifier.
version: u32Exact effect definition version required by the project.
params: BTreeMap<String, Animated<EffectValue>>Named parameter values, constant or keyframed. Omitted entries use definition defaults.
Keyframe times are composition times in a composition node and
timeline times in a timeline transition. A parameter’s keyframes all
have one value type, and enum and bool keyframes only hold. An
interpolated value that a timing curve carries past the parameter’s
range is clamped to it; an authored value outside it is an error.
resources: BTreeMap<String, EffectResourceId>Named external resources matched against the effect definition.
Trait Implementations§
Source§impl Clone for ClipEffect
impl Clone for ClipEffect
Source§impl Debug for ClipEffect
impl Debug for ClipEffect
Source§impl<'de> Deserialize<'de> for ClipEffect
impl<'de> Deserialize<'de> for ClipEffect
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
Source§impl PartialEq for ClipEffect
impl PartialEq for ClipEffect
Source§impl Serialize for ClipEffect
impl Serialize for ClipEffect
impl StructuralPartialEq for ClipEffect
Auto Trait Implementations§
impl Freeze for ClipEffect
impl RefUnwindSafe for ClipEffect
impl Send for ClipEffect
impl Sync for ClipEffect
impl Unpin for ClipEffect
impl UnsafeUnpin for ClipEffect
impl UnwindSafe for ClipEffect
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