#[repr(i32)]pub enum ColorId {
Show 61 variants
Text = 0,
TextDisabled = 1,
WindowBg = 2,
ChildBg = 3,
PopupBg = 4,
Border = 5,
BorderShadow = 6,
FrameBg = 7,
FrameBgHovered = 8,
FrameBgActive = 9,
TitleBg = 10,
TitleBgActive = 11,
TitleBgCollapsed = 12,
MenuBarBg = 13,
ScrollbarBg = 14,
ScrollbarGrab = 15,
ScrollbarGrabHovered = 16,
ScrollbarGrabActive = 17,
CheckMark = 18,
SliderGrab = 19,
SliderGrabActive = 20,
Button = 21,
ButtonHovered = 22,
ButtonActive = 23,
Header = 24,
HeaderHovered = 25,
HeaderActive = 26,
Separator = 27,
SeparatorHovered = 28,
SeparatorActive = 29,
ResizeGrip = 30,
ResizeGripHovered = 31,
ResizeGripActive = 32,
InputTextCursor = 33,
TabHovered = 34,
Tab = 35,
TabSelected = 36,
TabSelectedOverline = 37,
TabDimmed = 38,
TabDimmedSelected = 39,
TabDimmedSelectedOverline = 40,
DockingPreview = 41,
DockingEmptyBg = 42,
PlotLines = 43,
PlotLinesHovered = 44,
PlotHistogram = 45,
PlotHistogramHovered = 46,
TableHeaderBg = 47,
TableBorderStrong = 48,
TableBorderLight = 49,
TableRowBg = 50,
TableRowBgAlt = 51,
TextLink = 52,
TextSelectedBg = 53,
TreeLines = 54,
DragDropTarget = 55,
UnsavedMarker = 56,
NavCursor = 57,
NavWindowingHighlight = 58,
NavWindowingDimBg = 59,
ModalWindowDimBg = 60,
}Variants§
Text = 0
TextDisabled = 1
WindowBg = 2
ChildBg = 3
PopupBg = 4
Border = 5
BorderShadow = 6
FrameBg = 7
FrameBgHovered = 8
FrameBgActive = 9
TitleBg = 10
TitleBgActive = 11
TitleBgCollapsed = 12
MenuBarBg = 13
ScrollbarBg = 14
ScrollbarGrab = 15
ScrollbarGrabHovered = 16
ScrollbarGrabActive = 17
CheckMark = 18
SliderGrab = 19
SliderGrabActive = 20
Button = 21
ButtonHovered = 22
ButtonActive = 23
Header = 24
HeaderHovered = 25
HeaderActive = 26
Separator = 27
SeparatorHovered = 28
SeparatorActive = 29
ResizeGrip = 30
ResizeGripHovered = 31
ResizeGripActive = 32
InputTextCursor = 33
TabHovered = 34
Tab = 35
TabSelected = 36
TabSelectedOverline = 37
TabDimmed = 38
TabDimmedSelected = 39
TabDimmedSelectedOverline = 40
DockingPreview = 41
DockingEmptyBg = 42
PlotLines = 43
PlotLinesHovered = 44
PlotHistogram = 45
PlotHistogramHovered = 46
TableHeaderBg = 47
TableBorderStrong = 48
TableBorderLight = 49
TableRowBg = 50
TableRowBgAlt = 51
TextLink = 52
TextSelectedBg = 53
TreeLines = 54
DragDropTarget = 55
UnsavedMarker = 56
ModalWindowDimBg = 60
Implementations§
Trait Implementations§
Source§impl Ord for ColorId
impl Ord for ColorId
Source§impl PartialOrd for ColorId
impl PartialOrd for ColorId
impl Copy for ColorId
impl Eq for ColorId
impl StructuralPartialEq for ColorId
Auto Trait Implementations§
impl Freeze for ColorId
impl RefUnwindSafe for ColorId
impl Send for ColorId
impl Sync for ColorId
impl Unpin for ColorId
impl UnwindSafe for ColorId
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 more