#[repr(C)]pub struct StyleScrollbar { /* private fields */ }
Implementations§
Source§impl StyleScrollbar
impl StyleScrollbar
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 border_cursor(&self) -> f32
pub fn rounding_cursor(&self) -> f32
pub fn padding(&self) -> &Vec2
pub fn inc_symbol(&self) -> &SymbolType
pub fn dec_symbol(&self) -> &SymbolType
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_border_cursor(&mut self, v: f32)
pub fn set_rounding_cursor(&mut self, v: f32)
pub fn set_padding(&mut self, v: Vec2)
pub fn set_inc_symbol(&mut self, t: SymbolType)
pub fn set_dec_symbol(&mut self, t: SymbolType)
Trait Implementations§
Source§impl AsMut<StyleScrollbar> for nk_style_scrollbar
impl AsMut<StyleScrollbar> for nk_style_scrollbar
Source§fn as_mut(&mut self) -> &mut StyleScrollbar
fn as_mut(&mut self) -> &mut StyleScrollbar
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl AsMut<nk_style_scrollbar> for StyleScrollbar
impl AsMut<nk_style_scrollbar> for StyleScrollbar
Source§fn as_mut(&mut self) -> &mut nk_style_scrollbar
fn as_mut(&mut self) -> &mut nk_style_scrollbar
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl AsRef<StyleScrollbar> for nk_style_scrollbar
impl AsRef<StyleScrollbar> for nk_style_scrollbar
Source§fn as_ref(&self) -> &StyleScrollbar
fn as_ref(&self) -> &StyleScrollbar
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AsRef<nk_style_scrollbar> for StyleScrollbar
impl AsRef<nk_style_scrollbar> for StyleScrollbar
Source§fn as_ref(&self) -> &nk_style_scrollbar
fn as_ref(&self) -> &nk_style_scrollbar
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for StyleScrollbar
impl Clone for StyleScrollbar
Source§fn clone(&self) -> StyleScrollbar
fn clone(&self) -> StyleScrollbar
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 StyleScrollbar
impl RefUnwindSafe for StyleScrollbar
impl !Send for StyleScrollbar
impl !Sync for StyleScrollbar
impl Unpin for StyleScrollbar
impl UnwindSafe for StyleScrollbar
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