[−][src]Struct nuklear::StyleProperty
Methods
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<nk_style_property> for StyleProperty[src]
fn as_mut(&mut self) -> &mut nk_style_property[src]
impl AsMut<StyleProperty> for nk_style_property[src]
fn as_mut(&mut self) -> &mut StyleProperty[src]
impl AsRef<nk_style_property> for StyleProperty[src]
fn as_ref(&self) -> &nk_style_property[src]
impl AsRef<StyleProperty> for nk_style_property[src]
fn as_ref(&self) -> &StyleProperty[src]
impl Default for StyleProperty[src]
impl Clone for StyleProperty[src]
fn clone(&self) -> StyleProperty[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
Auto Trait Implementations
impl !Send for StyleProperty
impl !Sync for StyleProperty
Blanket Implementations
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,