Struct nuklear::StyleChart [−][src]
#[repr(C)]pub struct StyleChart { /* fields omitted */ }
Methods
impl StyleChart[src]
impl StyleChartpub fn background(&self) -> &StyleItem[src]
pub fn background(&self) -> &StyleItempub fn border_color(&self) -> &Color[src]
pub fn border_color(&self) -> &Colorpub fn selected_color(&self) -> &Color[src]
pub fn selected_color(&self) -> &Colorpub fn color(&self) -> &Color[src]
pub fn color(&self) -> &Colorpub fn border(&self) -> f32[src]
pub fn border(&self) -> f32pub fn rounding(&self) -> f32[src]
pub fn rounding(&self) -> f32pub fn padding(&self) -> &Vec2[src]
pub fn padding(&self) -> &Vec2pub 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_selected_color(&mut self, c: Color)[src]
pub fn set_selected_color(&mut self, c: Color)pub fn set_color(&mut self, c: Color)[src]
pub fn set_color(&mut self, c: Color)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_padding(&mut self, v: Vec2)[src]
pub fn set_padding(&mut self, v: Vec2)Trait Implementations
impl Clone for StyleChart[src]
impl Clone for StyleChartfn clone(&self) -> StyleChart[src]
fn clone(&self) -> StyleChartReturns 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 StyleChart[src]
impl Debug for StyleChartfn 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_chart> for StyleChart[src]
impl AsRef<nk_style_chart> for StyleChartfn as_ref(&self) -> &nk_style_chart[src]
fn as_ref(&self) -> &nk_style_chartPerforms the conversion.
impl AsMut<nk_style_chart> for StyleChart[src]
impl AsMut<nk_style_chart> for StyleChartfn as_mut(&mut self) -> &mut nk_style_chart[src]
fn as_mut(&mut self) -> &mut nk_style_chartPerforms the conversion.
impl AsRef<StyleChart> for nk_style_chart[src]
impl AsRef<StyleChart> for nk_style_chartfn as_ref(&self) -> &StyleChart[src]
fn as_ref(&self) -> &StyleChartPerforms the conversion.
impl AsMut<StyleChart> for nk_style_chart[src]
impl AsMut<StyleChart> for nk_style_chartfn as_mut(&mut self) -> &mut StyleChart[src]
fn as_mut(&mut self) -> &mut StyleChartPerforms the conversion.
impl Default for StyleChart[src]
impl Default for StyleChartAuto Trait Implementations
impl !Send for StyleChart
impl !Send for StyleChartimpl !Sync for StyleChart
impl !Sync for StyleChart