#[repr(C)]pub struct StyleCombo { /* private fields */ }
Implementations§
Source§impl StyleCombo
impl StyleCombo
pub fn normal(&self) -> &StyleItem
pub fn hover(&self) -> &StyleItem
pub fn active(&self) -> &StyleItem
pub fn border_color(&self) -> &Color
pub fn label_normal(&self) -> &Color
pub fn label_hover(&self) -> &Color
pub fn label_active(&self) -> &Color
pub fn symbol_normal(&self) -> &Color
pub fn symbol_hover(&self) -> &Color
pub fn symbol_active(&self) -> &Color
pub fn sym_normal(&self) -> &SymbolType
pub fn sym_hover(&self) -> &SymbolType
pub fn sym_active(&self) -> &SymbolType
pub fn border(&self) -> f32
pub fn rounding(&self) -> f32
pub fn content_padding(&self) -> &Vec2
pub fn spacing(&self) -> &Vec2
pub fn set_normal(&mut self, i: StyleItem)
pub fn set_hover(&mut self, i: StyleItem)
pub fn set_active(&mut self, i: StyleItem)
pub fn set_border_color(&mut self, c: Color)
pub fn set_label_normal(&mut self, c: Color)
pub fn set_label_hover(&mut self, c: Color)
pub fn set_label_active(&mut self, c: Color)
pub fn set_symbol_normal(&mut self, c: Color)
pub fn set_symbol_hover(&mut self, c: Color)
pub fn set_symbol_active(&mut self, c: Color)
pub fn set_sym_normal(&mut self, t: SymbolType)
pub fn set_sym_hover(&mut self, t: SymbolType)
pub fn set_sym_active(&mut self, t: SymbolType)
pub fn set_border(&mut self, v: f32)
pub fn set_rounding(&mut self, v: f32)
pub fn set_content_padding(&mut self, v: Vec2)
pub fn set_spacing(&mut self, v: Vec2)
Trait Implementations§
Source§impl AsMut<StyleCombo> for nk_style_combo
impl AsMut<StyleCombo> for nk_style_combo
Source§fn as_mut(&mut self) -> &mut StyleCombo
fn as_mut(&mut self) -> &mut StyleCombo
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl AsMut<nk_style_combo> for StyleCombo
impl AsMut<nk_style_combo> for StyleCombo
Source§fn as_mut(&mut self) -> &mut nk_style_combo
fn as_mut(&mut self) -> &mut nk_style_combo
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl AsRef<StyleCombo> for nk_style_combo
impl AsRef<StyleCombo> for nk_style_combo
Source§fn as_ref(&self) -> &StyleCombo
fn as_ref(&self) -> &StyleCombo
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AsRef<nk_style_combo> for StyleCombo
impl AsRef<nk_style_combo> for StyleCombo
Source§fn as_ref(&self) -> &nk_style_combo
fn as_ref(&self) -> &nk_style_combo
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for StyleCombo
impl Clone for StyleCombo
Source§fn clone(&self) -> StyleCombo
fn clone(&self) -> StyleCombo
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for StyleCombo
impl RefUnwindSafe for StyleCombo
impl !Send for StyleCombo
impl !Sync for StyleCombo
impl Unpin for StyleCombo
impl UnwindSafe for StyleCombo
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