[][src]Struct nuklear_sys::nk_style_toggle

#[repr(C)]
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 "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_itemhover: nk_style_itemactive: nk_style_itemborder_color: nk_colorcursor_normal: nk_style_itemcursor_hover: nk_style_itemtext_normal: nk_colortext_hover: nk_colortext_active: nk_colortext_background: nk_colortext_alignment: nk_flagspadding: nk_vec2touch_padding: nk_vec2spacing: f32border: f32userdata: nk_handledraw_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

impl Clone for nk_style_toggle[src]

impl Copy for nk_style_toggle[src]

impl Default for nk_style_toggle[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

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

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.