[−][src]Struct basalt::interface::slider::Slider
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
Auto Trait Implementations
impl Send for Slider
impl Unpin for Slider
impl Sync for Slider
impl !UnwindSafe for Slider
impl !RefUnwindSafe for Slider
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Content for T
[src]
fn ref_from_ptr(ptr: *mut c_void, size: usize) -> Option<*mut T>
[src]
fn is_size_suitable(size: usize) -> bool
[src]
fn indiv_size() -> usize
[src]
impl<T> SafeBorrow<T> for T
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,
fn vzip(self) -> V
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
T: Parameter<Self>,
Sets value
as a parameter of self
.