pub trait LevelBarExt {
fn add_offset_value(&self, name: &str, value: f64);
fn get_inverted(&self) -> bool;
fn get_max_value(&self) -> f64;
fn get_min_value(&self) -> f64;
fn get_mode(&self) -> LevelBarMode;
fn get_offset_value<'a, P: Into<Option<&'a str>>>(
&self,
name: P
) -> Option<f64>;
fn get_value(&self) -> f64;
fn remove_offset_value<'a, P: Into<Option<&'a str>>>(&self, name: P);
fn set_inverted(&self, inverted: bool);
fn set_max_value(&self, value: f64);
fn set_min_value(&self, value: f64);
fn set_mode(&self, mode: LevelBarMode);
fn set_value(&self, value: f64);
fn connect_offset_changed<F: Fn(&Self, &str) + 'static>(&self, f: F) -> u64;
}
Required Methods
Implementors