[][src]Struct nuklear::StyleChart

#[repr(C)]
pub struct StyleChart { /* fields omitted */ }

Methods

impl StyleChart[src]

pub fn background(&self) -> &StyleItem[src]

pub fn border_color(&self) -> &Color[src]

pub fn selected_color(&self) -> &Color[src]

pub fn color(&self) -> &Color[src]

pub fn border(&self) -> f32[src]

pub fn rounding(&self) -> f32[src]

pub fn padding(&self) -> &Vec2[src]

pub fn set_background(&mut self, i: StyleItem)[src]

pub fn set_border_color(&mut self, c: Color)[src]

pub fn set_selected_color(&mut self, c: Color)[src]

pub fn set_color(&mut self, c: Color)[src]

pub fn set_border(&mut self, v: f32)[src]

pub fn set_rounding(&mut self, v: f32)[src]

pub fn set_padding(&mut self, v: Vec2)[src]

Trait Implementations

impl Default for StyleChart[src]

impl AsMut<nk_style_chart> for StyleChart[src]

impl AsMut<StyleChart> for nk_style_chart[src]

impl AsRef<nk_style_chart> for StyleChart[src]

impl AsRef<StyleChart> for nk_style_chart[src]

impl Clone for StyleChart[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl !Send for StyleChart

impl !Sync for StyleChart

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.