#[repr(C)]pub struct ImGuiStyle {Show 41 fields
pub Alpha: f32,
pub DisabledAlpha: f32,
pub WindowPadding: ImVec2,
pub WindowRounding: f32,
pub WindowBorderSize: f32,
pub WindowMinSize: ImVec2,
pub WindowTitleAlign: ImVec2,
pub WindowMenuButtonPosition: i32,
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 ColorButtonPosition: i32,
pub ButtonTextAlign: ImVec2,
pub SelectableTextAlign: 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; 53],
}
Fields§
§Alpha: f32
§DisabledAlpha: f32
§WindowPadding: ImVec2
§WindowRounding: f32
§WindowBorderSize: f32
§WindowMinSize: ImVec2
§WindowTitleAlign: ImVec2
§WindowMenuButtonPosition: i32
§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
§ColorButtonPosition: i32
§ButtonTextAlign: ImVec2
§SelectableTextAlign: ImVec2
§DisplayWindowPadding: ImVec2
§DisplaySafeAreaPadding: ImVec2
§MouseCursorScale: f32
§AntiAliasedLines: bool
§AntiAliasedLinesUseTex: bool
§AntiAliasedFill: bool
§CurveTessellationTol: f32
§CircleTessellationMaxError: f32
§Colors: [ImVec4; 53]
Trait Implementations§
Source§impl Clone for ImGuiStyle
impl Clone for ImGuiStyle
Source§fn clone(&self) -> ImGuiStyle
fn clone(&self) -> ImGuiStyle
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ImGuiStyle
impl Debug for ImGuiStyle
Source§impl Default for ImGuiStyle
impl Default for ImGuiStyle
Source§fn default() -> ImGuiStyle
fn default() -> ImGuiStyle
Returns the “default value” for a type. Read more
Source§impl PartialEq for ImGuiStyle
impl PartialEq for ImGuiStyle
Source§impl RawCast<ImGuiStyle> for Style
impl RawCast<ImGuiStyle> for Style
Source§unsafe fn from_raw_mut(raw: &mut T) -> &mut Self
unsafe fn from_raw_mut(raw: &mut T) -> &mut Self
Casts a mutable reference from the raw type Read more
impl Copy for ImGuiStyle
impl StructuralPartialEq for ImGuiStyle
Auto Trait Implementations§
impl Freeze for ImGuiStyle
impl RefUnwindSafe for ImGuiStyle
impl Send for ImGuiStyle
impl Sync for ImGuiStyle
impl Unpin for ImGuiStyle
impl UnwindSafe for ImGuiStyle
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
Source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian()
.