#[repr(C)]pub struct StyleChart { /* private fields */ }
Implementations§
Source§impl StyleChart
impl StyleChart
pub fn background(&self) -> &StyleItem
pub fn border_color(&self) -> &Color
pub fn selected_color(&self) -> &Color
pub fn color(&self) -> &Color
pub fn border(&self) -> f32
pub fn rounding(&self) -> f32
pub fn padding(&self) -> &Vec2
pub fn set_background(&mut self, i: StyleItem)
pub fn set_border_color(&mut self, c: Color)
pub fn set_selected_color(&mut self, c: Color)
pub fn set_color(&mut self, c: Color)
pub fn set_border(&mut self, v: f32)
pub fn set_rounding(&mut self, v: f32)
pub fn set_padding(&mut self, v: Vec2)
Trait Implementations§
Source§impl AsMut<StyleChart> for nk_style_chart
impl AsMut<StyleChart> for nk_style_chart
Source§fn as_mut(&mut self) -> &mut StyleChart
fn as_mut(&mut self) -> &mut StyleChart
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl AsMut<nk_style_chart> for StyleChart
impl AsMut<nk_style_chart> for StyleChart
Source§fn as_mut(&mut self) -> &mut nk_style_chart
fn as_mut(&mut self) -> &mut nk_style_chart
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl AsRef<StyleChart> for nk_style_chart
impl AsRef<StyleChart> for nk_style_chart
Source§fn as_ref(&self) -> &StyleChart
fn as_ref(&self) -> &StyleChart
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AsRef<nk_style_chart> for StyleChart
impl AsRef<nk_style_chart> for StyleChart
Source§fn as_ref(&self) -> &nk_style_chart
fn as_ref(&self) -> &nk_style_chart
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for StyleChart
impl Clone for StyleChart
Source§fn clone(&self) -> StyleChart
fn clone(&self) -> StyleChart
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 StyleChart
impl RefUnwindSafe for StyleChart
impl !Send for StyleChart
impl !Sync for StyleChart
impl Unpin for StyleChart
impl UnwindSafe for StyleChart
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