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 skip(&self);
fn set_target<P: IsA<AnimationTarget>>(&self, target: Option<&P>);
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;
}