#[repr(C)]pub struct nk_style_slider {Show 25 fields
pub normal: nk_style_item,
pub hover: nk_style_item,
pub active: nk_style_item,
pub border_color: nk_color,
pub bar_normal: nk_color,
pub bar_hover: nk_color,
pub bar_active: nk_color,
pub bar_filled: nk_color,
pub cursor_normal: nk_style_item,
pub cursor_hover: nk_style_item,
pub cursor_active: nk_style_item,
pub border: f32,
pub rounding: f32,
pub bar_height: f32,
pub padding: nk_vec2,
pub spacing: nk_vec2,
pub cursor_size: nk_vec2,
pub show_buttons: c_int,
pub inc_button: nk_style_button,
pub dec_button: nk_style_button,
pub inc_symbol: nk_symbol_type,
pub dec_symbol: nk_symbol_type,
pub userdata: nk_handle,
pub draw_begin: Option<unsafe extern "C" fn(arg1: *mut nk_command_buffer, arg2: nk_handle)>,
pub draw_end: Option<unsafe extern "C" fn(arg1: *mut nk_command_buffer, arg2: nk_handle)>,
}Fields§
§normal: nk_style_item§hover: nk_style_item§active: nk_style_item§border_color: nk_color§bar_normal: nk_color§bar_hover: nk_color§bar_active: nk_color§bar_filled: nk_color§cursor_normal: nk_style_item§cursor_hover: nk_style_item§cursor_active: nk_style_item§border: f32§rounding: f32§bar_height: f32§padding: nk_vec2§spacing: nk_vec2§cursor_size: nk_vec2§inc_symbol: nk_symbol_type§dec_symbol: nk_symbol_type§userdata: nk_handle§draw_begin: Option<unsafe extern "C" fn(arg1: *mut nk_command_buffer, arg2: nk_handle)>§draw_end: Option<unsafe extern "C" fn(arg1: *mut nk_command_buffer, arg2: nk_handle)>Trait Implementations§
Source§impl Clone for nk_style_slider
impl Clone for nk_style_slider
Source§fn clone(&self) -> nk_style_slider
fn clone(&self) -> nk_style_slider
Returns a duplicate 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 moreSource§impl Default for nk_style_slider
impl Default for nk_style_slider
impl Copy for nk_style_slider
Auto Trait Implementations§
impl Freeze for nk_style_slider
impl RefUnwindSafe for nk_style_slider
impl !Send for nk_style_slider
impl !Sync for nk_style_slider
impl Unpin for nk_style_slider
impl UnwindSafe for nk_style_slider
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