Struct nuklear::StyleTab [−][src]
#[repr(C)]pub struct StyleTab { /* fields omitted */ }
Methods
impl StyleTab
[src]
impl StyleTab
pub fn background(&self) -> &StyleItem
[src]
pub fn background(&self) -> &StyleItem
pub fn border_color(&self) -> &Color
[src]
pub fn border_color(&self) -> &Color
pub fn text(&self) -> &Color
[src]
pub fn text(&self) -> &Color
pub fn sym_minimize(&self) -> &SymbolType
[src]
pub fn sym_minimize(&self) -> &SymbolType
pub fn sym_maximize(&self) -> &SymbolType
[src]
pub fn sym_maximize(&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 indent(&self) -> f32
[src]
pub fn indent(&self) -> f32
pub fn padding(&self) -> &Vec2
[src]
pub fn padding(&self) -> &Vec2
pub fn spacing(&self) -> &Vec2
[src]
pub fn spacing(&self) -> &Vec2
pub fn set_background(&mut self, i: StyleItem)
[src]
pub fn set_background(&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_text(&mut self, c: Color)
[src]
pub fn set_text(&mut self, c: Color)
pub fn set_sym_minimize(&mut self, t: SymbolType)
[src]
pub fn set_sym_minimize(&mut self, t: SymbolType)
pub fn set_sym_maximize(&mut self, t: SymbolType)
[src]
pub fn set_sym_maximize(&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_indent(&mut self, v: f32)
[src]
pub fn set_indent(&mut self, v: f32)
pub fn set_padding(&mut self, v: Vec2)
[src]
pub fn set_padding(&mut self, v: Vec2)
pub fn set_spacing(&mut self, v: Vec2)
[src]
pub fn set_spacing(&mut self, v: Vec2)
Trait Implementations
impl Clone for StyleTab
[src]
impl Clone for StyleTab
fn clone(&self) -> StyleTab
[src]
fn clone(&self) -> StyleTab
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 StyleTab
[src]
impl Debug for StyleTab
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_tab> for StyleTab
[src]
impl AsRef<nk_style_tab> for StyleTab
fn as_ref(&self) -> &nk_style_tab
[src]
fn as_ref(&self) -> &nk_style_tab
Performs the conversion.
impl AsMut<nk_style_tab> for StyleTab
[src]
impl AsMut<nk_style_tab> for StyleTab
fn as_mut(&mut self) -> &mut nk_style_tab
[src]
fn as_mut(&mut self) -> &mut nk_style_tab
Performs the conversion.
impl AsRef<StyleTab> for nk_style_tab
[src]
impl AsRef<StyleTab> for nk_style_tab
impl AsMut<StyleTab> for nk_style_tab
[src]
impl AsMut<StyleTab> for nk_style_tab
impl Default for StyleTab
[src]
impl Default for StyleTab