Trait libhelium::prelude::SpringParamsExt
source · pub trait SpringParamsExt: IsA<SpringParams> + Sealed + 'static {
// Provided methods
fn damping(&self) -> f64 { ... }
fn set_damping(&self, value: f64) { ... }
fn damping_ratio(&self) -> f64 { ... }
fn set_damping_ratio(&self, value: f64) { ... }
fn mass(&self) -> f64 { ... }
fn set_mass(&self, value: f64) { ... }
fn stiffness(&self) -> f64 { ... }
fn set_stiffness(&self, value: f64) { ... }
fn connect_damping_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_damping_ratio_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_mass_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_stiffness_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
}
Expand description
Provided Methods§
fn damping(&self) -> f64
fn set_damping(&self, value: f64)
fn damping_ratio(&self) -> f64
fn set_damping_ratio(&self, value: f64)
fn mass(&self) -> f64
fn set_mass(&self, value: f64)
fn stiffness(&self) -> f64
fn set_stiffness(&self, value: f64)
fn connect_damping_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_damping_ratio_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_mass_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn connect_stiffness_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
Object Safety§
This trait is not object safe.