[][src]Struct nuklear::StyleButton

#[repr(C)]pub struct StyleButton { /* fields omitted */ }

Implementations

impl StyleButton[src]

pub fn normal(&self) -> &StyleItem[src]

pub fn hover(&self) -> &StyleItem[src]

pub fn active(&self) -> &StyleItem[src]

pub fn border_color(&self) -> &Color[src]

pub fn text_background(&self) -> &Color[src]

pub fn text_normal(&self) -> &Color[src]

pub fn text_hover(&self) -> &Color[src]

pub fn text_active(&self) -> &Color[src]

pub fn text_alignment(&self) -> u32[src]

pub fn border(&self) -> f32[src]

pub fn rounding(&self) -> f32[src]

pub fn padding(&self) -> &Vec2[src]

pub fn touch_padding(&self) -> &Vec2[src]

pub fn image_padding(&self) -> &Vec2[src]

pub fn set_normal(&mut self, i: StyleItem)[src]

pub fn set_hover(&mut self, i: StyleItem)[src]

pub fn set_active(&mut self, i: StyleItem)[src]

pub fn set_border_color(&mut self, c: Color)[src]

pub fn set_text_background(&mut self, c: Color)[src]

pub fn set_text_normal(&mut self, c: Color)[src]

pub fn set_text_hover(&mut self, c: Color)[src]

pub fn set_text_active(&mut self, c: Color)[src]

pub fn set_text_alignment(&mut self, c: u32)[src]

pub fn set_border(&mut self, c: f32)[src]

pub fn set_rounding(&mut self, v: f32)[src]

pub fn set_padding(&mut self, v: Vec2)[src]

pub fn set_touch_padding(&mut self, v: Vec2)[src]

pub fn set_image_padding(&mut self, v: Vec2)[src]

Trait Implementations

impl AsMut<StyleButton> for nk_style_button[src]

impl AsMut<nk_style_button> for StyleButton[src]

impl AsRef<StyleButton> for nk_style_button[src]

impl AsRef<nk_style_button> for StyleButton[src]

impl Clone for StyleButton[src]

impl Default for StyleButton[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.