Struct nuklear::StyleProperty [−][src]
#[repr(C)]pub struct StyleProperty { /* fields omitted */ }
Methods
impl StyleProperty
[src]
impl StyleProperty
pub fn normal(&self) -> &StyleItem
[src]
pub fn normal(&self) -> &StyleItem
pub fn hover(&self) -> &StyleItem
[src]
pub fn hover(&self) -> &StyleItem
pub fn active(&self) -> &StyleItem
[src]
pub fn active(&self) -> &StyleItem
pub fn border_color(&self) -> &Color
[src]
pub fn border_color(&self) -> &Color
pub fn label_normal(&self) -> &StyleItem
[src]
pub fn label_normal(&self) -> &StyleItem
pub fn label_hover(&self) -> &StyleItem
[src]
pub fn label_hover(&self) -> &StyleItem
pub fn label_active(&self) -> &StyleItem
[src]
pub fn label_active(&self) -> &StyleItem
pub fn sym_left(&self) -> &SymbolType
[src]
pub fn sym_left(&self) -> &SymbolType
pub fn sym_right(&self) -> &SymbolType
[src]
pub fn sym_right(&self) -> &SymbolType
pub fn border(&self) -> f32
[src]
pub fn border(&self) -> f32
pub fn rounding(&self) -> f32
[src]
pub fn rounding(&self) -> f32
pub fn padding(&self) -> &Vec2
[src]
pub fn padding(&self) -> &Vec2
pub fn edit(&self) -> &StyleEdit
[src]
pub fn edit(&self) -> &StyleEdit
pub 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 StyleProperty
fn clone(&self) -> StyleProperty
[src]
fn clone(&self) -> StyleProperty
Returns 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 StyleProperty
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl AsRef<nk_style_property> for StyleProperty
[src]
impl AsRef<nk_style_property> for StyleProperty
fn as_ref(&self) -> &nk_style_property
[src]
fn as_ref(&self) -> &nk_style_property
Performs the conversion.
impl AsMut<nk_style_property> for StyleProperty
[src]
impl AsMut<nk_style_property> for StyleProperty
fn as_mut(&mut self) -> &mut nk_style_property
[src]
fn as_mut(&mut self) -> &mut nk_style_property
Performs the conversion.
impl AsRef<StyleProperty> for nk_style_property
[src]
impl AsRef<StyleProperty> for nk_style_property
fn as_ref(&self) -> &StyleProperty
[src]
fn as_ref(&self) -> &StyleProperty
Performs the conversion.
impl AsMut<StyleProperty> for nk_style_property
[src]
impl AsMut<StyleProperty> for nk_style_property
fn as_mut(&mut self) -> &mut StyleProperty
[src]
fn as_mut(&mut self) -> &mut StyleProperty
Performs the conversion.
impl Default for StyleProperty
[src]
impl Default for StyleProperty
Auto Trait Implementations
impl !Send for StyleProperty
impl !Send for StyleProperty
impl !Sync for StyleProperty
impl !Sync for StyleProperty