Trait ValueExt

Source
pub trait ValueExt: 'static {
    // Required methods
    fn get_current_value(&self) -> Value;
    fn get_increment(&self) -> f64;
    fn get_maximum_value(&self) -> Value;
    fn get_minimum_increment(&self) -> Value;
    fn get_minimum_value(&self) -> Value;
    fn get_range(&self) -> Option<Range>;
    fn get_sub_ranges(&self) -> Vec<Range>;
    fn get_value_and_text(&self) -> (f64, GString);
    fn set_current_value(&self, value: &Value) -> bool;
    fn set_value(&self, new_value: f64);
    fn connect_value_changed<F: Fn(&Self, f64, &str) + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId;
}

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<O: IsA<Value>> ValueExt for O