#[repr(C)]pub struct StyleProgress { /* private fields */ }
Implementations§
Source§impl StyleProgress
impl StyleProgress
pub fn normal(&self) -> &StyleItem
pub fn hover(&self) -> &StyleItem
pub fn active(&self) -> &StyleItem
pub fn border_color(&self) -> &Color
pub fn cursor_normal(&self) -> &StyleItem
pub fn cursor_hover(&self) -> &StyleItem
pub fn cursor_active(&self) -> &StyleItem
pub fn cursor_border_color(&self) -> &Color
pub fn border(&self) -> f32
pub fn rounding(&self) -> f32
pub fn cursor_border(&self) -> f32
pub fn cursor_rounding(&self) -> f32
pub fn padding(&self) -> &Vec2
pub fn set_normal(&mut self, i: StyleItem)
pub fn set_hover(&mut self, i: StyleItem)
pub fn set_active(&mut self, i: StyleItem)
pub fn set_border_color(&mut self, c: Color)
pub fn set_cursor_normal(&mut self, i: StyleItem)
pub fn set_cursor_hover(&mut self, i: StyleItem)
pub fn set_cursor_active(&mut self, i: StyleItem)
pub fn set_cursor_border_color(&mut self, c: Color)
pub fn set_border(&mut self, v: f32)
pub fn set_rounding(&mut self, v: f32)
pub fn set_cursor_border(&mut self, v: f32)
pub fn set_cursor_rounding(&mut self, v: f32)
pub fn set_padding(&mut self, v: Vec2)
Trait Implementations§
Source§impl AsMut<StyleProgress> for nk_style_progress
impl AsMut<StyleProgress> for nk_style_progress
Source§fn as_mut(&mut self) -> &mut StyleProgress
fn as_mut(&mut self) -> &mut StyleProgress
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl AsMut<nk_style_progress> for StyleProgress
impl AsMut<nk_style_progress> for StyleProgress
Source§fn as_mut(&mut self) -> &mut nk_style_progress
fn as_mut(&mut self) -> &mut nk_style_progress
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl AsRef<StyleProgress> for nk_style_progress
impl AsRef<StyleProgress> for nk_style_progress
Source§fn as_ref(&self) -> &StyleProgress
fn as_ref(&self) -> &StyleProgress
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AsRef<nk_style_progress> for StyleProgress
impl AsRef<nk_style_progress> for StyleProgress
Source§fn as_ref(&self) -> &nk_style_progress
fn as_ref(&self) -> &nk_style_progress
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for StyleProgress
impl Clone for StyleProgress
Source§fn clone(&self) -> StyleProgress
fn clone(&self) -> StyleProgress
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 StyleProgress
impl RefUnwindSafe for StyleProgress
impl !Send for StyleProgress
impl !Sync for StyleProgress
impl Unpin for StyleProgress
impl UnwindSafe for StyleProgress
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