Struct nk_style_edit

Source
#[repr(C)]
pub struct nk_style_edit {
Show 22 fields pub normal: nk_style_item, pub hover: nk_style_item, pub active: nk_style_item, pub border_color: nk_color, pub scrollbar: nk_style_scrollbar, pub cursor_normal: nk_color, pub cursor_hover: nk_color, pub cursor_text_normal: nk_color, pub cursor_text_hover: nk_color, pub text_normal: nk_color, pub text_hover: nk_color, pub text_active: nk_color, pub selected_normal: nk_color, pub selected_hover: nk_color, pub selected_text_normal: nk_color, pub selected_text_hover: nk_color, pub border: f32, pub rounding: f32, pub cursor_size: f32, pub scrollbar_size: nk_vec2, pub padding: nk_vec2, pub row_padding: f32,
}

Fields§

§normal: nk_style_item§hover: nk_style_item§active: nk_style_item§border_color: nk_color§scrollbar: nk_style_scrollbar§cursor_normal: nk_color§cursor_hover: nk_color§cursor_text_normal: nk_color§cursor_text_hover: nk_color§text_normal: nk_color§text_hover: nk_color§text_active: nk_color§selected_normal: nk_color§selected_hover: nk_color§selected_text_normal: nk_color§selected_text_hover: nk_color§border: f32§rounding: f32§cursor_size: f32§scrollbar_size: nk_vec2§padding: nk_vec2§row_padding: f32

Trait Implementations§

Source§

impl Clone for nk_style_edit

Source§

fn clone(&self) -> nk_style_edit

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Default for nk_style_edit

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Copy for nk_style_edit

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.