pub enum ColorStyle {
Show 17 variants
NodeBackground = 0,
NodeBackgroundHovered = 1,
NodeBackgroundSelected = 2,
NodeOutline = 3,
TitleBar = 4,
TitleBarHovered = 5,
TitleBarSelected = 6,
Link = 7,
LinkHovered = 8,
LinkSelected = 9,
Pin = 10,
PinHovered = 11,
BoxSelector = 12,
BoxSelectorOutline = 13,
GridBackground = 14,
GridLine = 15,
Count = 16,
}Expand description
Represents different color style values used by a Context
Variants§
NodeBackground = 0
NodeBackgroundHovered = 1
NodeBackgroundSelected = 2
NodeOutline = 3
TitleBar = 4
TitleBarHovered = 5
TitleBarSelected = 6
Link = 7
LinkHovered = 8
LinkSelected = 9
Pin = 10
PinHovered = 11
BoxSelector = 12
BoxSelectorOutline = 13
GridBackground = 14
GridLine = 15
Count = 16
Implementations§
Source§impl ColorStyle
impl ColorStyle
Sourcepub fn colors_dark() -> [Color32; 16]
pub fn colors_dark() -> [Color32; 16]
dark color style
Sourcepub fn colors_classic() -> [Color32; 16]
pub fn colors_classic() -> [Color32; 16]
classic color style
Sourcepub fn colors_light() -> [Color32; 16]
pub fn colors_light() -> [Color32; 16]
light color style
Trait Implementations§
Source§impl Clone for ColorStyle
impl Clone for ColorStyle
Source§fn clone(&self) -> ColorStyle
fn clone(&self) -> ColorStyle
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 ColorStyle
impl Debug for ColorStyle
impl Copy for ColorStyle
Auto Trait Implementations§
impl Freeze for ColorStyle
impl RefUnwindSafe for ColorStyle
impl Send for ColorStyle
impl Sync for ColorStyle
impl Unpin for ColorStyle
impl UnwindSafe for ColorStyle
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