AnimationPrograms
struct · ferroui-designer-animation · v0.5.0
struct AnimationPrograms
Members
scan
fn scan(document: &Document) -> Vec<AnimationProgram>
Enumerate every Animation, including resource, nested-style and custom payload programs. Hosts resolve selectors against their live tree and then invoke the codec registry.
create
fn create(document: &Document, owner: NodeId, name: &str, selector: &str, timeline: &Timeline) -> Result<Vec<Edit>>
remove
fn remove(document: &Document, id: NodeId) -> Result<Vec<Edit>>
rename
fn rename(document: &Document, id: NodeId, name: &str) -> Result<Vec<Edit>>
duplicate
fn duplicate(document: &Document, id: NodeId, name: &str) -> Result<Vec<Edit>>
replace_source
fn replace_source(document: &Document, id: NodeId, source: &str) -> Result<Vec<Edit>>
set_selector
fn set_selector(document: &Document, id: NodeId, selector: &str) -> Result<Vec<Edit>>
Isolate this program in its own sibling style before changing a shared style selector. MoveNode pins the original Animation identity; existing setters and other animations stay.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>Any
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.