AnimationExt

Trait AnimationExt 

Source
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§

Source

fn follows_enable_animations_setting(&self) -> bool

Source

fn state(&self) -> AnimationState

Source

fn target(&self) -> AnimationTarget

Source

fn value(&self) -> f64

Source

fn widget(&self) -> Widget

Source

fn pause(&self)

Source

fn play(&self)

Source

fn reset(&self)

Source

fn resume(&self)

Source

fn set_follow_enable_animations_setting(&self, setting: bool)

Source

fn set_target(&self, target: &impl IsA<AnimationTarget>)

Source

fn skip(&self)

Source

fn connect_done<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

Source

fn connect_follow_enable_animations_setting_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

Source

fn connect_state_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

Source

fn connect_target_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

Source

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.

Implementors§