#[repr(C)]pub struct StyleTab { /* private fields */ }
Implementations§
Source§impl StyleTab
impl StyleTab
pub fn background(&self) -> &StyleItem
pub fn border_color(&self) -> &Color
pub fn text(&self) -> &Color
pub fn sym_minimize(&self) -> &SymbolType
pub fn sym_maximize(&self) -> &SymbolType
pub fn border(&self) -> f32
pub fn rounding(&self) -> f32
pub fn indent(&self) -> f32
pub fn padding(&self) -> &Vec2
pub fn spacing(&self) -> &Vec2
pub fn set_background(&mut self, i: StyleItem)
pub fn set_border_color(&mut self, c: Color)
pub fn set_text(&mut self, c: Color)
pub fn set_sym_minimize(&mut self, t: SymbolType)
pub fn set_sym_maximize(&mut self, t: SymbolType)
pub fn set_border(&mut self, v: f32)
pub fn set_rounding(&mut self, v: f32)
pub fn set_indent(&mut self, v: f32)
pub fn set_padding(&mut self, v: Vec2)
pub fn set_spacing(&mut self, v: Vec2)
Trait Implementations§
Source§impl AsMut<StyleTab> for nk_style_tab
impl AsMut<StyleTab> for nk_style_tab
Source§impl AsMut<nk_style_tab> for StyleTab
impl AsMut<nk_style_tab> for StyleTab
Source§fn as_mut(&mut self) -> &mut nk_style_tab
fn as_mut(&mut self) -> &mut nk_style_tab
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl AsRef<StyleTab> for nk_style_tab
impl AsRef<StyleTab> for nk_style_tab
Source§impl AsRef<nk_style_tab> for StyleTab
impl AsRef<nk_style_tab> for StyleTab
Source§fn as_ref(&self) -> &nk_style_tab
fn as_ref(&self) -> &nk_style_tab
Converts this type into a shared reference of the (usually inferred) input type.
Auto Trait Implementations§
impl Freeze for StyleTab
impl RefUnwindSafe for StyleTab
impl !Send for StyleTab
impl !Sync for StyleTab
impl Unpin for StyleTab
impl UnwindSafe for StyleTab
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more