Struct nuklear_rust::NkStyleButton
[−]
[src]
#[repr(C)]pub struct NkStyleButton { /* fields omitted */ }
Methods
impl NkStyleButton[src]
fn normal(&self) -> &NkStyleItem
fn hover(&self) -> &NkStyleItem
fn active(&self) -> &NkStyleItem
fn border_color(&self) -> &NkColor
fn text_background(&self) -> &NkColor
fn text_normal(&self) -> &NkColor
fn text_hover(&self) -> &NkColor
fn text_active(&self) -> &NkColor
fn text_alignment(&self) -> u32
fn border(&self) -> f32
fn rounding(&self) -> f32
fn padding(&self) -> &NkVec2
fn touch_padding(&self) -> &NkVec2
fn image_padding(&self) -> &NkVec2
fn set_normal(&mut self, i: NkStyleItem)
fn set_hover(&mut self, i: NkStyleItem)
fn set_active(&mut self, i: NkStyleItem)
fn set_border_color(&mut self, c: NkColor)
fn set_text_background(&mut self, c: NkColor)
fn set_text_normal(&mut self, c: NkColor)
fn set_text_hover(&mut self, c: NkColor)
fn set_text_active(&mut self, c: NkColor)
fn set_text_alignment(&mut self, c: u32)
fn set_border(&mut self, c: f32)
fn set_rounding(&mut self, v: f32)
fn set_padding(&mut self, v: NkVec2)
fn set_touch_padding(&mut self, v: NkVec2)
fn set_image_padding(&mut self, v: NkVec2)
Trait Implementations
impl Clone for NkStyleButton[src]
fn clone(&self) -> NkStyleButton
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl AsRef<nk_style_button> for NkStyleButton[src]
fn as_ref(&self) -> &nk_style_button
Performs the conversion.
impl AsMut<nk_style_button> for NkStyleButton[src]
fn as_mut(&mut self) -> &mut nk_style_button
Performs the conversion.