Struct nuklear::StyleSelectable [−][src]
#[repr(C)]pub struct StyleSelectable { /* fields omitted */ }
Methods
impl StyleSelectable[src]
impl StyleSelectablepub fn normal(&self) -> &StyleItem[src]
pub fn normal(&self) -> &StyleItempub fn hover(&self) -> &StyleItem[src]
pub fn hover(&self) -> &StyleItempub fn pressed(&self) -> &StyleItem[src]
pub fn pressed(&self) -> &StyleItempub fn normal_active(&self) -> &StyleItem[src]
pub fn normal_active(&self) -> &StyleItempub fn hover_active(&self) -> &StyleItem[src]
pub fn hover_active(&self) -> &StyleItempub fn pressed_active(&self) -> &StyleItem[src]
pub fn pressed_active(&self) -> &StyleItempub fn text_normal(&self) -> &Color[src]
pub fn text_normal(&self) -> &Colorpub fn text_hover(&self) -> &Color[src]
pub fn text_hover(&self) -> &Colorpub fn text_pressed(&self) -> &Color[src]
pub fn text_pressed(&self) -> &Colorpub fn text_normal_active(&self) -> &Color[src]
pub fn text_normal_active(&self) -> &Colorpub fn text_hover_active(&self) -> &Color[src]
pub fn text_hover_active(&self) -> &Colorpub fn text_pressed_active(&self) -> &Color[src]
pub fn text_pressed_active(&self) -> &Colorpub fn text_background(&self) -> &Color[src]
pub fn text_background(&self) -> &Colorpub fn text_alignment(&self) -> u32[src]
pub fn text_alignment(&self) -> u32pub fn rounding(&self) -> f32[src]
pub fn rounding(&self) -> f32pub fn padding(&self) -> &Vec2[src]
pub fn padding(&self) -> &Vec2pub fn touch_padding(&self) -> &Vec2[src]
pub fn touch_padding(&self) -> &Vec2pub fn image_padding(&self) -> &Vec2[src]
pub fn image_padding(&self) -> &Vec2pub 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_pressed(&mut self, i: StyleItem)[src]
pub fn set_pressed(&mut self, i: StyleItem)pub fn set_normal_active(&mut self, i: StyleItem)[src]
pub fn set_normal_active(&mut self, i: StyleItem)pub fn set_hover_active(&mut self, i: StyleItem)[src]
pub fn set_hover_active(&mut self, i: StyleItem)pub fn set_pressed_active(&mut self, i: StyleItem)[src]
pub fn set_pressed_active(&mut self, i: StyleItem)pub fn set_text_normal(&mut self, c: Color)[src]
pub fn set_text_normal(&mut self, c: Color)pub fn set_text_hover(&mut self, c: Color)[src]
pub fn set_text_hover(&mut self, c: Color)pub fn set_text_pressed(&mut self, c: Color)[src]
pub fn set_text_pressed(&mut self, c: Color)pub fn set_text_normal_active(&mut self, c: Color)[src]
pub fn set_text_normal_active(&mut self, c: Color)pub fn set_text_hover_active(&mut self, c: Color)[src]
pub fn set_text_hover_active(&mut self, c: Color)pub fn set_text_pressed_active(&mut self, c: Color)[src]
pub fn set_text_pressed_active(&mut self, c: Color)pub fn set_text_background(&mut self, c: Color)[src]
pub fn set_text_background(&mut self, c: Color)pub fn set_text_alignment(&mut self, v: u32)[src]
pub fn set_text_alignment(&mut self, v: u32)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)pub fn set_touch_padding(&mut self, v: Vec2)[src]
pub fn set_touch_padding(&mut self, v: Vec2)pub fn set_image_padding(&mut self, v: Vec2)[src]
pub fn set_image_padding(&mut self, v: Vec2)Trait Implementations
impl Clone for StyleSelectable[src]
impl Clone for StyleSelectablefn clone(&self) -> StyleSelectable[src]
fn clone(&self) -> StyleSelectableReturns 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 StyleSelectable[src]
impl Debug for StyleSelectablefn 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_selectable> for StyleSelectable[src]
impl AsRef<nk_style_selectable> for StyleSelectablefn as_ref(&self) -> &nk_style_selectable[src]
fn as_ref(&self) -> &nk_style_selectablePerforms the conversion.
impl AsMut<nk_style_selectable> for StyleSelectable[src]
impl AsMut<nk_style_selectable> for StyleSelectablefn as_mut(&mut self) -> &mut nk_style_selectable[src]
fn as_mut(&mut self) -> &mut nk_style_selectablePerforms the conversion.
impl AsRef<StyleSelectable> for nk_style_selectable[src]
impl AsRef<StyleSelectable> for nk_style_selectablefn as_ref(&self) -> &StyleSelectable[src]
fn as_ref(&self) -> &StyleSelectablePerforms the conversion.
impl AsMut<StyleSelectable> for nk_style_selectable[src]
impl AsMut<StyleSelectable> for nk_style_selectablefn as_mut(&mut self) -> &mut StyleSelectable[src]
fn as_mut(&mut self) -> &mut StyleSelectablePerforms the conversion.
impl Default for StyleSelectable[src]
impl Default for StyleSelectableAuto Trait Implementations
impl !Send for StyleSelectable
impl !Send for StyleSelectableimpl !Sync for StyleSelectable
impl !Sync for StyleSelectable