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
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
Object Safety§
This trait is not object safe.