[][src]Struct basalt::interface::slider::Slider

pub struct Slider {
    pub basalt: Arc<Basalt>,
    pub container: Arc<Bin>,
    pub slidy_bit: Arc<Bin>,
    pub input_box: Arc<Bin>,
    pub slide_back: Arc<Bin>,
    // some fields omitted
}

Fields

basalt: Arc<Basalt>container: Arc<Bin>slidy_bit: Arc<Bin>input_box: Arc<Bin>slide_back: Arc<Bin>

Methods

impl Slider[src]

pub fn set_min_max(&self, min: f32, max: f32)[src]

pub fn min_max(&self) -> (f32, f32)[src]

pub fn at(&self) -> f32[src]

pub fn set_step_size(&self, size: f32)[src]

pub fn on_change(&self, func: Arc<dyn Fn(f32) + Send + Sync>)[src]

pub fn set_method(&self, method: Method)[src]

pub fn new(basalt: Arc<Basalt>, parent_op: Option<Arc<Bin>>) -> Arc<Slider>[src]

pub fn set(&self, val: f32)[src]

pub fn increment(&self)[src]

pub fn decrement(&self)[src]

Trait Implementations

impl KeepAlive for Slider[src]

impl Drop for Slider[src]

Auto Trait Implementations

impl Sync for Slider

impl Send for Slider

impl Unpin for Slider

impl !RefUnwindSafe for Slider

impl !UnwindSafe for Slider

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T

impl<T> Content for T[src]

impl<T> SafeBorrow<T> for T[src]

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> SetParameter for T

fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
    T: Parameter<Self>, 

Sets value as a parameter of self.