Struct iui::controls::Slider [−][src]
pub struct Slider { /* fields omitted */ }Numerical entry which allows users to select a value by picking a location along a line.
Methods
impl Slider[src]
impl Sliderpub fn show(&mut self, _ctx: &UI)[src]
pub fn show(&mut self, _ctx: &UI)pub fn hide(&mut self, _ctx: &UI)[src]
pub fn hide(&mut self, _ctx: &UI)pub unsafe fn from_raw(uiSlider: *mut uiSlider) -> Slider[src]
pub unsafe fn from_raw(uiSlider: *mut uiSlider) -> SliderCreate an iui struct for this control from the raw pointer for it.
Unsafety
The given pointer must point to a valid control or memory unsafety may result.
pub fn ptr(&self) -> *mut uiSlider[src]
pub fn ptr(&self) -> *mut uiSliderReturn the underlying pointer for this control.
impl Slider[src]
impl SliderTrait Implementations
impl Drop for Slider[src]
impl Drop for Sliderimpl Clone for Slider[src]
impl Clone for Sliderfn clone(&self) -> Slider[src]
fn clone(&self) -> SliderReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Into<Control> for Slider[src]
impl Into<Control> for Sliderimpl NumericEntry for Slider[src]
impl NumericEntry for Slider