Skip to main content

TimedAnimationExt

Trait TimedAnimationExt 

Source
pub trait TimedAnimationExt: IsA<TimedAnimation> + 'static {
Show 21 methods // Provided methods fn value_from(&self) -> f64 { ... } fn set_value_from(&self, value: f64) { ... } fn value_to(&self) -> f64 { ... } fn set_value_to(&self, value: f64) { ... } fn duration(&self) -> u32 { ... } fn set_duration(&self, value: u32) { ... } fn easing(&self) -> Easing { ... } fn set_easing(&self, value: Easing) { ... } fn repeat_count(&self) -> u32 { ... } fn set_repeat_count(&self, value: u32) { ... } fn is_reverse(&self) -> bool { ... } fn set_reverse(&self, value: bool) { ... } fn is_alternate(&self) -> bool { ... } fn set_alternate(&self, value: bool) { ... } fn connect_value_from_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_value_to_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_duration_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_easing_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_repeat_count_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_reverse_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_alternate_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... }
}

Provided Methods§

Source

fn value_from(&self) -> f64

Source

fn set_value_from(&self, value: f64)

Source

fn value_to(&self) -> f64

Source

fn set_value_to(&self, value: f64)

Source

fn duration(&self) -> u32

Source

fn set_duration(&self, value: u32)

Source

fn easing(&self) -> Easing

Source

fn set_easing(&self, value: Easing)

Source

fn repeat_count(&self) -> u32

Source

fn set_repeat_count(&self, value: u32)

Source

fn is_reverse(&self) -> bool

Source

fn set_reverse(&self, value: bool)

Source

fn is_alternate(&self) -> bool

Source

fn set_alternate(&self, value: bool)

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

fn connect_alternate_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".

Implementors§