Struct nuklear::StyleProperty [−][src]
#[repr(C)]pub struct StyleProperty { /* fields omitted */ }
Methods
impl StyleProperty[src]
impl StylePropertypub fn normal(&self) -> &StyleItem[src]
pub fn normal(&self) -> &StyleItempub fn hover(&self) -> &StyleItem[src]
pub fn hover(&self) -> &StyleItempub fn active(&self) -> &StyleItem[src]
pub fn active(&self) -> &StyleItempub fn border_color(&self) -> &Color[src]
pub fn border_color(&self) -> &Colorpub fn label_normal(&self) -> &StyleItem[src]
pub fn label_normal(&self) -> &StyleItempub fn label_hover(&self) -> &StyleItem[src]
pub fn label_hover(&self) -> &StyleItempub fn label_active(&self) -> &StyleItem[src]
pub fn label_active(&self) -> &StyleItempub fn sym_left(&self) -> &SymbolType[src]
pub fn sym_left(&self) -> &SymbolTypepub fn sym_right(&self) -> &SymbolType[src]
pub fn sym_right(&self) -> &SymbolTypepub fn border(&self) -> f32[src]
pub fn border(&self) -> f32pub fn rounding(&self) -> f32[src]
pub fn rounding(&self) -> f32pub fn padding(&self) -> &Vec2[src]
pub fn padding(&self) -> &Vec2pub fn edit(&self) -> &StyleEdit[src]
pub fn edit(&self) -> &StyleEditpub fn set_normal(&mut self, i: StyleItem)[src]
pub fn set_normal(&mut self, i: StyleItem)pub fn set_hover(&mut self, i: StyleItem)[src]
pub fn set_hover(&mut self, i: StyleItem)pub fn set_active(&mut self, i: StyleItem)[src]
pub fn set_active(&mut self, i: StyleItem)pub fn set_border_color(&mut self, c: Color)[src]
pub fn set_border_color(&mut self, c: Color)pub fn set_label_normal(&mut self, c: Color)[src]
pub fn set_label_normal(&mut self, c: Color)pub fn set_label_hover(&mut self, c: Color)[src]
pub fn set_label_hover(&mut self, c: Color)pub fn set_label_active(&mut self, c: Color)[src]
pub fn set_label_active(&mut self, c: Color)pub fn set_sym_left(&mut self, t: SymbolType)[src]
pub fn set_sym_left(&mut self, t: SymbolType)pub fn set_sym_right(&mut self, t: SymbolType)[src]
pub fn set_sym_right(&mut self, t: SymbolType)pub fn set_border(&mut self, v: f32)[src]
pub fn set_border(&mut self, v: f32)pub fn set_rounding(&mut self, v: f32)[src]
pub fn set_rounding(&mut self, v: f32)pub fn set_padding(&mut self, v: Vec2)[src]
pub fn set_padding(&mut self, v: Vec2)Trait Implementations
impl Clone for StyleProperty[src]
impl Clone for StylePropertyfn clone(&self) -> StyleProperty[src]
fn clone(&self) -> StylePropertyReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Debug for StyleProperty[src]
impl Debug for StylePropertyfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl AsRef<nk_style_property> for StyleProperty[src]
impl AsRef<nk_style_property> for StylePropertyfn as_ref(&self) -> &nk_style_property[src]
fn as_ref(&self) -> &nk_style_propertyPerforms the conversion.
impl AsMut<nk_style_property> for StyleProperty[src]
impl AsMut<nk_style_property> for StylePropertyfn as_mut(&mut self) -> &mut nk_style_property[src]
fn as_mut(&mut self) -> &mut nk_style_propertyPerforms the conversion.
impl AsRef<StyleProperty> for nk_style_property[src]
impl AsRef<StyleProperty> for nk_style_propertyfn as_ref(&self) -> &StyleProperty[src]
fn as_ref(&self) -> &StylePropertyPerforms the conversion.
impl AsMut<StyleProperty> for nk_style_property[src]
impl AsMut<StyleProperty> for nk_style_propertyfn as_mut(&mut self) -> &mut StyleProperty[src]
fn as_mut(&mut self) -> &mut StylePropertyPerforms the conversion.
impl Default for StyleProperty[src]
impl Default for StylePropertyAuto Trait Implementations
impl !Send for StyleProperty
impl !Send for StylePropertyimpl !Sync for StyleProperty
impl !Sync for StyleProperty