[−][src]Struct nuklear::StyleSelectable
Implementations
impl StyleSelectable
[src]
pub fn normal(&self) -> &StyleItem
[src]
pub fn hover(&self) -> &StyleItem
[src]
pub fn pressed(&self) -> &StyleItem
[src]
pub fn normal_active(&self) -> &StyleItem
[src]
pub fn hover_active(&self) -> &StyleItem
[src]
pub fn pressed_active(&self) -> &StyleItem
[src]
pub fn text_normal(&self) -> &Color
[src]
pub fn text_hover(&self) -> &Color
[src]
pub fn text_pressed(&self) -> &Color
[src]
pub fn text_normal_active(&self) -> &Color
[src]
pub fn text_hover_active(&self) -> &Color
[src]
pub fn text_pressed_active(&self) -> &Color
[src]
pub fn text_background(&self) -> &Color
[src]
pub fn text_alignment(&self) -> u32
[src]
pub fn rounding(&self) -> f32
[src]
pub fn padding(&self) -> &Vec2
[src]
pub fn touch_padding(&self) -> &Vec2
[src]
pub fn image_padding(&self) -> &Vec2
[src]
pub fn set_normal(&mut self, i: StyleItem)
[src]
pub fn set_hover(&mut self, i: StyleItem)
[src]
pub fn set_pressed(&mut self, i: StyleItem)
[src]
pub fn set_normal_active(&mut self, i: StyleItem)
[src]
pub fn set_hover_active(&mut self, i: StyleItem)
[src]
pub fn set_pressed_active(&mut self, i: StyleItem)
[src]
pub fn set_text_normal(&mut self, c: Color)
[src]
pub fn set_text_hover(&mut self, c: Color)
[src]
pub fn set_text_pressed(&mut self, c: Color)
[src]
pub fn set_text_normal_active(&mut self, c: Color)
[src]
pub fn set_text_hover_active(&mut self, c: Color)
[src]
pub fn set_text_pressed_active(&mut self, c: Color)
[src]
pub fn set_text_background(&mut self, c: Color)
[src]
pub fn set_text_alignment(&mut self, v: u32)
[src]
pub fn set_rounding(&mut self, v: f32)
[src]
pub fn set_padding(&mut self, v: Vec2)
[src]
pub fn set_touch_padding(&mut self, v: Vec2)
[src]
pub fn set_image_padding(&mut self, v: Vec2)
[src]
Trait Implementations
impl AsMut<StyleSelectable> for nk_style_selectable
[src]
fn as_mut(&mut self) -> &mut StyleSelectable
[src]
impl AsMut<nk_style_selectable> for StyleSelectable
[src]
fn as_mut(&mut self) -> &mut nk_style_selectable
[src]
impl AsRef<StyleSelectable> for nk_style_selectable
[src]
fn as_ref(&self) -> &StyleSelectable
[src]
impl AsRef<nk_style_selectable> for StyleSelectable
[src]
fn as_ref(&self) -> &nk_style_selectable
[src]
impl Clone for StyleSelectable
[src]
fn clone(&self) -> StyleSelectable
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Default for StyleSelectable
[src]
Auto Trait Implementations
impl RefUnwindSafe for StyleSelectable
impl !Send for StyleSelectable
impl !Sync for StyleSelectable
impl Unpin for StyleSelectable
impl UnwindSafe for StyleSelectable
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,