Struct easy_imgui_sys::ImGuiStyle

source ·
#[repr(C)]
pub struct ImGuiStyle {
Show 52 fields pub Alpha: f32, pub DisabledAlpha: f32, pub WindowPadding: ImVec2, pub WindowRounding: f32, pub WindowBorderSize: f32, pub WindowMinSize: ImVec2, pub WindowTitleAlign: ImVec2, pub WindowMenuButtonPosition: ImGuiDir, pub ChildRounding: f32, pub ChildBorderSize: f32, pub PopupRounding: f32, pub PopupBorderSize: f32, pub FramePadding: ImVec2, pub FrameRounding: f32, pub FrameBorderSize: f32, pub ItemSpacing: ImVec2, pub ItemInnerSpacing: ImVec2, pub CellPadding: ImVec2, pub TouchExtraPadding: ImVec2, pub IndentSpacing: f32, pub ColumnsMinSpacing: f32, pub ScrollbarSize: f32, pub ScrollbarRounding: f32, pub GrabMinSize: f32, pub GrabRounding: f32, pub LogSliderDeadzone: f32, pub TabRounding: f32, pub TabBorderSize: f32, pub TabMinWidthForCloseButton: f32, pub TabBarBorderSize: f32, pub TableAngledHeadersAngle: f32, pub TableAngledHeadersTextAlign: ImVec2, pub ColorButtonPosition: ImGuiDir, pub ButtonTextAlign: ImVec2, pub SelectableTextAlign: ImVec2, pub SeparatorTextBorderSize: f32, pub SeparatorTextAlign: ImVec2, pub SeparatorTextPadding: ImVec2, pub DisplayWindowPadding: ImVec2, pub DisplaySafeAreaPadding: ImVec2, pub MouseCursorScale: f32, pub AntiAliasedLines: bool, pub AntiAliasedLinesUseTex: bool, pub AntiAliasedFill: bool, pub CurveTessellationTol: f32, pub CircleTessellationMaxError: f32, pub Colors: [ImVec4; 55], pub HoverStationaryDelay: f32, pub HoverDelayShort: f32, pub HoverDelayNormal: f32, pub HoverFlagsForTooltipMouse: ImGuiHoveredFlags, pub HoverFlagsForTooltipNav: ImGuiHoveredFlags,
}

Fields§

§Alpha: f32§DisabledAlpha: f32§WindowPadding: ImVec2§WindowRounding: f32§WindowBorderSize: f32§WindowMinSize: ImVec2§WindowTitleAlign: ImVec2§WindowMenuButtonPosition: ImGuiDir§ChildRounding: f32§ChildBorderSize: f32§PopupRounding: f32§PopupBorderSize: f32§FramePadding: ImVec2§FrameRounding: f32§FrameBorderSize: f32§ItemSpacing: ImVec2§ItemInnerSpacing: ImVec2§CellPadding: ImVec2§TouchExtraPadding: ImVec2§IndentSpacing: f32§ColumnsMinSpacing: f32§ScrollbarSize: f32§ScrollbarRounding: f32§GrabMinSize: f32§GrabRounding: f32§LogSliderDeadzone: f32§TabRounding: f32§TabBorderSize: f32§TabMinWidthForCloseButton: f32§TabBarBorderSize: f32§TableAngledHeadersAngle: f32§TableAngledHeadersTextAlign: ImVec2§ColorButtonPosition: ImGuiDir§ButtonTextAlign: ImVec2§SelectableTextAlign: ImVec2§SeparatorTextBorderSize: f32§SeparatorTextAlign: ImVec2§SeparatorTextPadding: ImVec2§DisplayWindowPadding: ImVec2§DisplaySafeAreaPadding: ImVec2§MouseCursorScale: f32§AntiAliasedLines: bool§AntiAliasedLinesUseTex: bool§AntiAliasedFill: bool§CurveTessellationTol: f32§CircleTessellationMaxError: f32§Colors: [ImVec4; 55]§HoverStationaryDelay: f32§HoverDelayShort: f32§HoverDelayNormal: f32§HoverFlagsForTooltipMouse: ImGuiHoveredFlags§HoverFlagsForTooltipNav: ImGuiHoveredFlags

Implementations§

source§

impl ImGuiStyle

source

pub unsafe fn ScaleAllSizes(&mut self, scale_factor: f32)

source

pub unsafe fn new() -> Self

Trait Implementations§

source§

impl Clone for ImGuiStyle

source§

fn clone(&self) -> ImGuiStyle

Returns a copy 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 Copy 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§

default unsafe fn clone_to_uninit(&self, dst: *mut T)

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

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. 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,

§

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

§

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

§

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.