ImGuiStyle

Struct ImGuiStyle 

Source
#[repr(C)]
pub struct ImGuiStyle {
Show 72 fields pub FontSizeBase: f32, pub FontScaleMain: f32, pub FontScaleDpi: f32, pub Alpha: f32, pub DisabledAlpha: f32, pub WindowPadding: ImVec2_c, pub WindowRounding: f32, pub WindowBorderSize: f32, pub WindowBorderHoverPadding: f32, pub WindowMinSize: ImVec2_c, pub WindowTitleAlign: ImVec2_c, pub WindowMenuButtonPosition: ImGuiDir, pub ChildRounding: f32, pub ChildBorderSize: f32, pub PopupRounding: f32, pub PopupBorderSize: f32, pub FramePadding: ImVec2_c, pub FrameRounding: f32, pub FrameBorderSize: f32, pub ItemSpacing: ImVec2_c, pub ItemInnerSpacing: ImVec2_c, pub CellPadding: ImVec2_c, pub TouchExtraPadding: ImVec2_c, pub IndentSpacing: f32, pub ColumnsMinSpacing: f32, pub ScrollbarSize: f32, pub ScrollbarRounding: f32, pub ScrollbarPadding: f32, pub GrabMinSize: f32, pub GrabRounding: f32, pub LogSliderDeadzone: f32, pub ImageBorderSize: f32, pub TabRounding: f32, pub TabBorderSize: f32, pub TabMinWidthBase: f32, pub TabMinWidthShrink: f32, pub TabCloseButtonMinWidthSelected: f32, pub TabCloseButtonMinWidthUnselected: f32, pub TabBarBorderSize: f32, pub TabBarOverlineSize: f32, pub TableAngledHeadersAngle: f32, pub TableAngledHeadersTextAlign: ImVec2_c, pub TreeLinesFlags: ImGuiTreeNodeFlags, pub TreeLinesSize: f32, pub TreeLinesRounding: f32, pub DragDropTargetRounding: f32, pub DragDropTargetBorderSize: f32, pub DragDropTargetPadding: f32, pub ColorButtonPosition: ImGuiDir, pub ButtonTextAlign: ImVec2_c, pub SelectableTextAlign: ImVec2_c, pub SeparatorTextBorderSize: f32, pub SeparatorTextAlign: ImVec2_c, pub SeparatorTextPadding: ImVec2_c, pub DisplayWindowPadding: ImVec2_c, pub DisplaySafeAreaPadding: ImVec2_c, pub DockingNodeHasCloseButton: bool, pub DockingSeparatorSize: f32, pub MouseCursorScale: f32, pub AntiAliasedLines: bool, pub AntiAliasedLinesUseTex: bool, pub AntiAliasedFill: bool, pub CurveTessellationTol: f32, pub CircleTessellationMaxError: f32, pub Colors: [ImVec4_c; 62], pub HoverStationaryDelay: f32, pub HoverDelayShort: f32, pub HoverDelayNormal: f32, pub HoverFlagsForTooltipMouse: ImGuiHoveredFlags, pub HoverFlagsForTooltipNav: ImGuiHoveredFlags, pub _MainScale: f32, pub _NextFrameFontSizeBase: f32,
}

Fields§

§FontSizeBase: f32§FontScaleMain: f32§FontScaleDpi: f32§Alpha: f32§DisabledAlpha: f32§WindowPadding: ImVec2_c§WindowRounding: f32§WindowBorderSize: f32§WindowBorderHoverPadding: f32§WindowMinSize: ImVec2_c§WindowTitleAlign: ImVec2_c§WindowMenuButtonPosition: ImGuiDir§ChildRounding: f32§ChildBorderSize: f32§PopupRounding: f32§PopupBorderSize: f32§FramePadding: ImVec2_c§FrameRounding: f32§FrameBorderSize: f32§ItemSpacing: ImVec2_c§ItemInnerSpacing: ImVec2_c§CellPadding: ImVec2_c§TouchExtraPadding: ImVec2_c§IndentSpacing: f32§ColumnsMinSpacing: f32§ScrollbarSize: f32§ScrollbarRounding: f32§ScrollbarPadding: f32§GrabMinSize: f32§GrabRounding: f32§LogSliderDeadzone: f32§ImageBorderSize: f32§TabRounding: f32§TabBorderSize: f32§TabMinWidthBase: f32§TabMinWidthShrink: f32§TabCloseButtonMinWidthSelected: f32§TabCloseButtonMinWidthUnselected: f32§TabBarBorderSize: f32§TabBarOverlineSize: f32§TableAngledHeadersAngle: f32§TableAngledHeadersTextAlign: ImVec2_c§TreeLinesFlags: ImGuiTreeNodeFlags§TreeLinesSize: f32§TreeLinesRounding: f32§DragDropTargetRounding: f32§DragDropTargetBorderSize: f32§DragDropTargetPadding: f32§ColorButtonPosition: ImGuiDir§ButtonTextAlign: ImVec2_c§SelectableTextAlign: ImVec2_c§SeparatorTextBorderSize: f32§SeparatorTextAlign: ImVec2_c§SeparatorTextPadding: ImVec2_c§DisplayWindowPadding: ImVec2_c§DisplaySafeAreaPadding: ImVec2_c§DockingNodeHasCloseButton: bool§DockingSeparatorSize: f32§MouseCursorScale: f32§AntiAliasedLines: bool§AntiAliasedLinesUseTex: bool§AntiAliasedFill: bool§CurveTessellationTol: f32§CircleTessellationMaxError: f32§Colors: [ImVec4_c; 62]§HoverStationaryDelay: f32§HoverDelayShort: f32§HoverDelayNormal: f32§HoverFlagsForTooltipMouse: ImGuiHoveredFlags§HoverFlagsForTooltipNav: ImGuiHoveredFlags§_MainScale: f32§_NextFrameFontSizeBase: f32

Trait Implementations§

Source§

impl Clone for ImGuiStyle

Source§

fn clone(&self) -> ImGuiStyle

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 Debug for ImGuiStyle

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for ImGuiStyle

Source§

fn default() -> Self

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

impl PartialEq for ImGuiStyle

Source§

fn eq(&self, other: &ImGuiStyle) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for ImGuiStyle

Source§

impl StructuralPartialEq for ImGuiStyle

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.