#[repr(C)]pub struct StyleSlider { /* private fields */ }
Implementations§
Source§impl StyleSlider
impl StyleSlider
pub fn normal(&self) -> &StyleItem
pub fn hover(&self) -> &StyleItem
pub fn active(&self) -> &StyleItem
pub fn border_color(&self) -> &Color
pub fn bar_normal(&self) -> &Color
pub fn bar_hover(&self) -> &Color
pub fn bar_active(&self) -> &Color
pub fn bar_filled(&self) -> &Color
pub fn cursor_normal(&self) -> &StyleItem
pub fn cursor_hover(&self) -> &StyleItem
pub fn cursor_active(&self) -> &StyleItem
pub fn border(&self) -> f32
pub fn rounding(&self) -> f32
pub fn bar_height(&self) -> f32
pub fn spacing(&self) -> &Vec2
pub fn padding(&self) -> &Vec2
pub fn cursor_size(&self) -> &Vec2
pub fn inc_symbol(&self) -> &SymbolType
pub fn dec_symbol(&self) -> &SymbolType
pub fn set_normal(&mut self, i: StyleItem)
pub fn set_hover(&mut self, i: StyleItem)
pub fn set_active(&mut self, i: StyleItem)
pub fn set_border_color(&mut self, c: Color)
pub fn set_bar_normal(&mut self, c: Color)
pub fn set_bar_hover(&mut self, c: Color)
pub fn set_bar_active(&mut self, c: Color)
pub fn set_bar_filled(&mut self, c: Color)
pub fn set_cursor_normal(&mut self, i: StyleItem)
pub fn set_cursor_hover(&mut self, i: StyleItem)
pub fn set_cursor_active(&mut self, i: StyleItem)
pub fn set_border(&mut self, v: f32)
pub fn set_rounding(&mut self, v: f32)
pub fn set_bar_height(&mut self, v: f32)
pub fn set_padding(&mut self, v: Vec2)
pub fn set_spacing(&mut self, v: Vec2)
pub fn set_cursor_size(&mut self, v: Vec2)
pub fn set_inc_symbol(&mut self, t: SymbolType)
pub fn set_dec_symbol(&mut self, t: SymbolType)
Trait Implementations§
Source§impl AsMut<StyleSlider> for nk_style_slider
impl AsMut<StyleSlider> for nk_style_slider
Source§fn as_mut(&mut self) -> &mut StyleSlider
fn as_mut(&mut self) -> &mut StyleSlider
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl AsMut<nk_style_slider> for StyleSlider
impl AsMut<nk_style_slider> for StyleSlider
Source§fn as_mut(&mut self) -> &mut nk_style_slider
fn as_mut(&mut self) -> &mut nk_style_slider
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl AsRef<StyleSlider> for nk_style_slider
impl AsRef<StyleSlider> for nk_style_slider
Source§fn as_ref(&self) -> &StyleSlider
fn as_ref(&self) -> &StyleSlider
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AsRef<nk_style_slider> for StyleSlider
impl AsRef<nk_style_slider> for StyleSlider
Source§fn as_ref(&self) -> &nk_style_slider
fn as_ref(&self) -> &nk_style_slider
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for StyleSlider
impl Clone for StyleSlider
Source§fn clone(&self) -> StyleSlider
fn clone(&self) -> StyleSlider
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for StyleSlider
impl RefUnwindSafe for StyleSlider
impl !Send for StyleSlider
impl !Sync for StyleSlider
impl Unpin for StyleSlider
impl UnwindSafe for StyleSlider
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more