#[repr(C)]pub struct nk_style_selectable {Show 21 fields
pub normal: nk_style_item,
pub hover: nk_style_item,
pub pressed: nk_style_item,
pub normal_active: nk_style_item,
pub hover_active: nk_style_item,
pub pressed_active: nk_style_item,
pub text_normal: nk_color,
pub text_hover: nk_color,
pub text_pressed: nk_color,
pub text_normal_active: nk_color,
pub text_hover_active: nk_color,
pub text_pressed_active: nk_color,
pub text_background: nk_color,
pub text_alignment: nk_flags,
pub rounding: f32,
pub padding: nk_vec2,
pub touch_padding: nk_vec2,
pub image_padding: nk_vec2,
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§pressed: nk_style_item§normal_active: nk_style_item§hover_active: nk_style_item§pressed_active: nk_style_item§text_normal: nk_color§text_hover: nk_color§text_pressed: nk_color§text_normal_active: nk_color§text_hover_active: nk_color§text_pressed_active: nk_color§text_background: nk_color§text_alignment: nk_flags§rounding: f32§padding: nk_vec2§touch_padding: nk_vec2§image_padding: nk_vec2§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_selectable
impl Clone for nk_style_selectable
Source§fn clone(&self) -> nk_style_selectable
fn clone(&self) -> nk_style_selectable
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_selectable
impl Default for nk_style_selectable
impl Copy for nk_style_selectable
Auto Trait Implementations§
impl Freeze for nk_style_selectable
impl RefUnwindSafe for nk_style_selectable
impl !Send for nk_style_selectable
impl !Sync for nk_style_selectable
impl Unpin for nk_style_selectable
impl UnwindSafe for nk_style_selectable
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