AnimationCodec
trait · ferroui-designer-animation · v0.5.0
trait AnimationCodec
A custom codec owns the complete payload it recognizes. encode receives the original
source, allowing a plugin to retain custom animator configuration while changing keyframes.
An unsuccessful decode never changes the document or removes the opaque program.
Members
id
fn id(self: &Self) -> &str
can_decode
fn can_decode(self: &Self, source: &str) -> bool
decode
fn decode(self: &Self, source: &str, target: NodeId, options: &ImportOptions) -> Result<AnimationImport>
encode
fn encode(self: &Self, original: &str, timeline: &Timeline, target: NodeId) -> Result<String>
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.