[][src]Struct nuklear::StyleSelectable

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

Implementations

impl StyleSelectable[src]

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

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

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

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

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

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

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

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

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

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

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

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

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

pub fn text_alignment(&self) -> u32[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_pressed(&mut self, i: StyleItem)[src]

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

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

pub fn set_pressed_active(&mut self, i: StyleItem)[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_pressed(&mut self, c: Color)[src]

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

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

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

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

pub fn set_text_alignment(&mut self, v: u32)[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<StyleSelectable> for nk_style_selectable[src]

impl AsMut<nk_style_selectable> for StyleSelectable[src]

impl AsRef<StyleSelectable> for nk_style_selectable[src]

impl AsRef<nk_style_selectable> for StyleSelectable[src]

impl Clone for StyleSelectable[src]

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