#[repr(C)]pub struct AnimationFunction {
pub name: AzString,
pub callback: ZombieAnimCallback,
pub data: RefAny,
}Expand description
A COMPONENT-ATTACHED native animation function.
Lives on the node’s own NodeData (USER ruling 2026-08-17 — a sidebar
widget ships its fly-out next to its own DOM, not in app-global state;
the global AppConfig registry this replaced was “a bit unclean”).
Resolvable by NAME from that node’s -azul-animation-in /
-azul-animation-out, AFTER stylesheet @keyframes — the web mechanism
stays the only default name source.
Fields§
§name: AzString§callback: ZombieAnimCallback§data: RefAnyPassed to callback on every invocation.
Trait Implementations§
Source§impl Clone for AnimationFunction
impl Clone for AnimationFunction
Source§fn clone(&self) -> AnimationFunction
fn clone(&self) -> AnimationFunction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AnimationFunction
impl Debug for AnimationFunction
impl Eq for AnimationFunction
Source§impl Hash for AnimationFunction
impl Hash for AnimationFunction
Source§impl Ord for AnimationFunction
impl Ord for AnimationFunction
Source§fn cmp(&self, other: &AnimationFunction) -> Ordering
fn cmp(&self, other: &AnimationFunction) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for AnimationFunction
impl PartialEq for AnimationFunction
Source§impl PartialOrd for AnimationFunction
impl PartialOrd for AnimationFunction
impl StructuralPartialEq for AnimationFunction
Auto Trait Implementations§
impl Freeze for AnimationFunction
impl RefUnwindSafe for AnimationFunction
impl Send for AnimationFunction
impl Sync for AnimationFunction
impl Unpin for AnimationFunction
impl UnsafeUnpin for AnimationFunction
impl UnwindSafe for AnimationFunction
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