pub trait AnimationExt: 'static {
Show 14 methods
// Required methods
fn state(&self) -> AnimationState;
fn target(&self) -> AnimationTarget;
fn value(&self) -> f64;
fn widget(&self) -> Widget;
fn pause(&self);
fn play(&self);
fn reset(&self);
fn resume(&self);
fn set_target(&self, target: &impl IsA<AnimationTarget>);
fn skip(&self);
fn connect_done<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId;
fn connect_state_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_target_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_value_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
}