[−][src]Struct nuklear::StyleSlider
Methods
impl StyleSlider
[src]
pub fn normal(&self) -> &StyleItem
[src]
pub fn hover(&self) -> &StyleItem
[src]
pub fn active(&self) -> &StyleItem
[src]
pub fn border_color(&self) -> &Color
[src]
pub fn bar_normal(&self) -> &Color
[src]
pub fn bar_hover(&self) -> &Color
[src]
pub fn bar_active(&self) -> &Color
[src]
pub fn bar_filled(&self) -> &Color
[src]
pub fn cursor_normal(&self) -> &StyleItem
[src]
pub fn cursor_hover(&self) -> &StyleItem
[src]
pub fn cursor_active(&self) -> &StyleItem
[src]
pub fn border(&self) -> f32
[src]
pub fn rounding(&self) -> f32
[src]
pub fn bar_height(&self) -> f32
[src]
pub fn spacing(&self) -> &Vec2
[src]
pub fn padding(&self) -> &Vec2
[src]
pub fn cursor_size(&self) -> &Vec2
[src]
pub fn show_buttons(&self) -> bool
[src]
pub fn inc_button(&self) -> &StyleButton
[src]
pub fn dec_button(&self) -> &StyleButton
[src]
pub fn inc_symbol(&self) -> &SymbolType
[src]
pub fn dec_symbol(&self) -> &SymbolType
[src]
pub fn set_normal(&mut self, i: StyleItem)
[src]
pub fn set_hover(&mut self, i: StyleItem)
[src]
pub fn set_active(&mut self, i: StyleItem)
[src]
pub fn set_border_color(&mut self, c: Color)
[src]
pub fn set_bar_normal(&mut self, c: Color)
[src]
pub fn set_bar_hover(&mut self, c: Color)
[src]
pub fn set_bar_active(&mut self, c: Color)
[src]
pub fn set_bar_filled(&mut self, c: Color)
[src]
pub fn set_cursor_normal(&mut self, i: StyleItem)
[src]
pub fn set_cursor_hover(&mut self, i: StyleItem)
[src]
pub fn set_cursor_active(&mut self, i: StyleItem)
[src]
pub fn set_border(&mut self, v: f32)
[src]
pub fn set_rounding(&mut self, v: f32)
[src]
pub fn set_bar_height(&mut self, v: f32)
[src]
pub fn set_padding(&mut self, v: Vec2)
[src]
pub fn set_spacing(&mut self, v: Vec2)
[src]
pub fn set_cursor_size(&mut self, v: Vec2)
[src]
pub fn set_show_buttons(&mut self, show: bool)
[src]
pub fn set_inc_button(&mut self, s: StyleButton)
[src]
pub fn set_dec_button(&mut self, s: StyleButton)
[src]
pub fn set_inc_symbol(&mut self, t: SymbolType)
[src]
pub fn set_dec_symbol(&mut self, t: SymbolType)
[src]
Trait Implementations
impl Clone for StyleSlider
[src]
fn clone(&self) -> StyleSlider
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl AsMut<nk_style_slider> for StyleSlider
[src]
fn as_mut(&mut self) -> &mut nk_style_slider
[src]
impl AsMut<StyleSlider> for nk_style_slider
[src]
fn as_mut(&mut self) -> &mut StyleSlider
[src]
impl AsRef<nk_style_slider> for StyleSlider
[src]
fn as_ref(&self) -> &nk_style_slider
[src]
impl AsRef<StyleSlider> for nk_style_slider
[src]
fn as_ref(&self) -> &StyleSlider
[src]
impl Default for StyleSlider
[src]
Auto Trait Implementations
impl !Send for StyleSlider
impl !Sync for StyleSlider
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom 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> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto 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> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,