pub struct DebugStyle {
pub banner_bg: Style,
pub title_style: Style,
pub key_styles: KeyStyles,
pub scrollbar: ScrollbarStyle,
pub label_style: Style,
pub value_style: Style,
pub dim_factor: f32,
}Expand description
Style configuration for debug UI
Fields§
Background style for the banner
title_style: StyleTitle style (e.g., “DEBUG” label)
key_styles: KeyStylesKey styles for different actions (toggle, state, copy, mouse)
scrollbar: ScrollbarStyleScrollbar styling for debug overlays
label_style: StyleLabel style (e.g., “resume”)
value_style: StyleValue style for status items
dim_factor: f32Dim factor for background (0.0-1.0)
Implementations§
Source§impl DebugStyle
impl DebugStyle
Sourcepub const fn neon_purple() -> Color
pub const fn neon_purple() -> Color
Get the neon purple color
Sourcepub const fn neon_amber() -> Color
pub const fn neon_amber() -> Color
Get the neon amber color
Sourcepub const fn neon_green() -> Color
pub const fn neon_green() -> Color
Get the neon green color
Sourcepub const fn bg_surface() -> Color
pub const fn bg_surface() -> Color
Get the surface background color
Sourcepub const fn bg_highlight() -> Color
pub const fn bg_highlight() -> Color
Get the highlight background color (for selected items)
Sourcepub const fn text_primary() -> Color
pub const fn text_primary() -> Color
Get the primary text color
Sourcepub const fn text_secondary() -> Color
pub const fn text_secondary() -> Color
Get the secondary text color
Trait Implementations§
Source§impl Clone for DebugStyle
impl Clone for DebugStyle
Source§fn clone(&self) -> DebugStyle
fn clone(&self) -> DebugStyle
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 DebugStyle
impl Debug for DebugStyle
Auto Trait Implementations§
impl Freeze for DebugStyle
impl RefUnwindSafe for DebugStyle
impl Send for DebugStyle
impl Sync for DebugStyle
impl Unpin for DebugStyle
impl UnwindSafe for DebugStyle
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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