Trait libhelium::prelude::SpringAnimationExt

source ·
pub trait SpringAnimationExt: IsA<SpringAnimation> + Sealed + 'static {
Show 24 methods // Provided methods fn epsilon(&self) -> f64 { ... } fn set_epsilon(&self, value: f64) { ... } fn estimated_duration(&self) -> u32 { ... } fn set_estimated_duration(&self, value: u32) { ... } fn initial_velocity(&self) -> f64 { ... } fn set_initial_velocity(&self, value: f64) { ... } fn is_latch(&self) -> bool { ... } fn set_latch(&self, value: bool) { ... } fn spring_params(&self) -> SpringParams { ... } fn set_spring_params(&self, value: &impl IsA<SpringParams>) { ... } 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 velocity(&self) -> f64 { ... } fn set_velocity(&self, value: f64) { ... } fn connect_epsilon_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_estimated_duration_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_initial_velocity_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_latch_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_spring_params_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } 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_velocity_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... }
}
Expand description

Trait containing all SpringAnimation methods.

§Implementors

SpringAnimation

Provided Methods§

source

fn epsilon(&self) -> f64

source

fn set_epsilon(&self, value: f64)

source

fn estimated_duration(&self) -> u32

source

fn set_estimated_duration(&self, value: u32)

source

fn initial_velocity(&self) -> f64

source

fn set_initial_velocity(&self, value: f64)

source

fn is_latch(&self) -> bool

source

fn set_latch(&self, value: bool)

source

fn spring_params(&self) -> SpringParams

source

fn set_spring_params(&self, value: &impl IsA<SpringParams>)

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 velocity(&self) -> f64

source

fn set_velocity(&self, value: f64)

source

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

source

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

source

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

source

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

source

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

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_velocity_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

Object Safety§

This trait is not object safe.

Implementors§