Trait libhelium::prelude::AnimationExt
source · pub trait AnimationExt: IsA<Animation> + Sealed + 'static {
Show 20 methods
// Provided methods
fn pause(&self) { ... }
fn play(&self) { ... }
fn reset(&self) { ... }
fn resume(&self) { ... }
fn skip(&self) { ... }
fn estimate_duration(&self) -> u32 { ... }
fn calculate_value(&self, t: u32) -> f64 { ... }
fn state(&self) -> AnimationState { ... }
fn set_state(&self, value: AnimationState) { ... }
fn target(&self) -> AnimationTarget { ... }
fn set_target(&self, value: &impl IsA<AnimationTarget>) { ... }
fn widget(&self) -> Widget { ... }
fn set_widget(&self, value: &impl IsA<Widget>) { ... }
fn avalue(&self) -> f64 { ... }
fn set_avalue(&self, value: f64) { ... }
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_widget_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_avalue_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
}
Expand description
Provided Methods§
fn pause(&self)
fn play(&self)
fn reset(&self)
fn resume(&self)
fn skip(&self)
fn estimate_duration(&self) -> u32
fn calculate_value(&self, t: u32) -> f64
fn state(&self) -> AnimationState
fn set_state(&self, value: AnimationState)
fn target(&self) -> AnimationTarget
fn set_target(&self, value: &impl IsA<AnimationTarget>)
fn widget(&self) -> Widget
fn set_widget(&self, value: &impl IsA<Widget>)
fn avalue(&self) -> f64
fn set_avalue(&self, value: f64)
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_widget_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn connect_avalue_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
Object Safety§
This trait is not object safe.