pub trait AnimationExt: IsA<Animation> + 'static {
Show 17 methods
// Provided methods
fn follows_enable_animations_setting(&self) -> bool { ... }
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_follow_enable_animations_setting(&self, setting: bool) { ... }
fn set_target(&self, target: &impl IsA<AnimationTarget>) { ... }
fn skip(&self) { ... }
fn connect_done<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId { ... }
fn connect_follow_enable_animations_setting_notify<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 { ... }
}Provided Methods§
fn follows_enable_animations_setting(&self) -> bool
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_follow_enable_animations_setting(&self, setting: bool)
fn set_target(&self, target: &impl IsA<AnimationTarget>)
fn skip(&self)
fn connect_done<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn connect_follow_enable_animations_setting_notify<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
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.