Struct nuklear_sys::nk_style_toggle
[−]
[src]
pub struct nk_style_toggle {
pub normal: nk_style_item,
pub hover: nk_style_item,
pub active: nk_style_item,
pub border_color: nk_color,
pub cursor_normal: nk_style_item,
pub cursor_hover: nk_style_item,
pub text_normal: nk_color,
pub text_hover: nk_color,
pub text_active: nk_color,
pub text_background: nk_color,
pub text_alignment: nk_flags,
pub padding: nk_vec2,
pub touch_padding: nk_vec2,
pub spacing: f32,
pub border: f32,
pub userdata: nk_handle,
pub draw_begin: Option<unsafe extern fn(arg1: *mut nk_command_buffer, arg2: nk_handle)>,
pub draw_end: Option<unsafe extern 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
cursor_normal: nk_style_item
cursor_hover: nk_style_item
text_normal: nk_color
text_hover: nk_color
text_active: nk_color
text_background: nk_color
text_alignment: nk_flags
padding: nk_vec2
touch_padding: nk_vec2
spacing: f32
border: f32
userdata: nk_handle
draw_begin: Option<unsafe extern fn(arg1: *mut nk_command_buffer, arg2: nk_handle)>
draw_end: Option<unsafe extern fn(arg1: *mut nk_command_buffer, arg2: nk_handle)>
Trait Implementations
impl Debug for nk_style_toggle[src]
impl Copy for nk_style_toggle[src]
impl Clone for nk_style_toggle[src]
fn clone(&self) -> nk_style_toggle
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more