[][src]Struct nuki::StyleProperty

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

Implementations

impl StyleProperty[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 label_normal(&self) -> &StyleItem[src]

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

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

pub fn sym_left(&self) -> &SymbolType[src]

pub fn sym_right(&self) -> &SymbolType[src]

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

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

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

pub fn edit(&self) -> &StyleEdit[src]

pub fn inc_button(&self) -> &StyleButton[src]

pub fn dec_button(&self) -> &StyleButton[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_label_normal(&mut self, c: Color)[src]

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

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

pub fn set_sym_left(&mut self, t: SymbolType)[src]

pub fn set_sym_right(&mut self, t: SymbolType)[src]

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

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

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

pub fn set_inc_button(&mut self, s: StyleButton)[src]

pub fn set_dec_button(&mut self, s: StyleButton)[src]

Trait Implementations

impl AsMut<StyleProperty> for nk_style_property[src]

impl AsMut<nk_style_property> for StyleProperty[src]

impl AsRef<StyleProperty> for nk_style_property[src]

impl AsRef<nk_style_property> for StyleProperty[src]

impl Clone for StyleProperty[src]

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