[][src]Struct nuklear_sys::nk_style_button

#[repr(C)]
pub struct nk_style_button { pub normal: nk_style_item, pub hover: nk_style_item, pub active: nk_style_item, pub border_color: nk_color, pub text_background: nk_color, pub text_normal: nk_color, pub text_hover: nk_color, pub text_active: nk_color, pub text_alignment: nk_flags, pub border: f32, pub rounding: f32, pub padding: nk_vec2, pub image_padding: nk_vec2, pub touch_padding: nk_vec2, pub userdata: nk_handle, pub draw_begin: Option<unsafe extern "C" fn(arg1: *mut nk_command_buffer, userdata: nk_handle)>, pub draw_end: Option<unsafe extern "C" fn(arg1: *mut nk_command_buffer, userdata: nk_handle)>, }

Fields

normal: nk_style_itemhover: nk_style_itemactive: nk_style_itemborder_color: nk_colortext_background: nk_colortext_normal: nk_colortext_hover: nk_colortext_active: nk_colortext_alignment: nk_flagsborder: f32rounding: f32padding: nk_vec2image_padding: nk_vec2touch_padding: nk_vec2userdata: nk_handledraw_begin: Option<unsafe extern "C" fn(arg1: *mut nk_command_buffer, userdata: nk_handle)>draw_end: Option<unsafe extern "C" fn(arg1: *mut nk_command_buffer, userdata: nk_handle)>

Trait Implementations

impl Copy for nk_style_button[src]

impl Default for nk_style_button[src]

impl Clone for nk_style_button[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]