ImGuiStyle

Struct ImGuiStyle 

Source
#[repr(C)]
pub struct ImGuiStyle {
Show 30 fields pub alpha: c_float, pub window_padding: ImVec2, pub window_rounding: c_float, pub window_border_size: c_float, pub window_min_size: ImVec2, pub window_title_align: ImVec2, pub child_rounding: c_float, pub child_border_size: c_float, pub popup_rounding: c_float, pub popup_border_size: c_float, pub frame_padding: ImVec2, pub frame_rounding: c_float, pub frame_border_size: c_float, pub item_spacing: ImVec2, pub item_inner_spacing: ImVec2, pub touch_extra_padding: ImVec2, pub indent_spacing: c_float, pub columns_min_spacing: c_float, pub scrollbar_size: c_float, pub scrollbar_rounding: c_float, pub grab_min_size: c_float, pub grab_rounding: c_float, pub button_text_align: ImVec2, pub display_window_padding: ImVec2, pub display_safe_area_padding: ImVec2, pub mouse_cursor_scale: c_float, pub anti_aliased_lines: bool, pub anti_aliased_fill: bool, pub curve_tessellation_tol: c_float, pub colors: [ImVec4; 43],
}

Fields§

§alpha: c_float§window_padding: ImVec2§window_rounding: c_float§window_border_size: c_float§window_min_size: ImVec2§window_title_align: ImVec2§child_rounding: c_float§child_border_size: c_float§popup_rounding: c_float§popup_border_size: c_float§frame_padding: ImVec2§frame_rounding: c_float§frame_border_size: c_float§item_spacing: ImVec2§item_inner_spacing: ImVec2§touch_extra_padding: ImVec2§indent_spacing: c_float§columns_min_spacing: c_float§scrollbar_size: c_float§scrollbar_rounding: c_float§grab_min_size: c_float§grab_rounding: c_float§button_text_align: ImVec2§display_window_padding: ImVec2§display_safe_area_padding: ImVec2§mouse_cursor_scale: c_float§anti_aliased_lines: bool§anti_aliased_fill: bool§curve_tessellation_tol: c_float§colors: [ImVec4; 43]

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> 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, 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.