pub struct SettingsDialogConfig {
pub width: f32,
pub height: f32,
pub bg_color: Color32,
pub tab_bg_color: Color32,
pub tab_active_color: Color32,
pub text_color: Color32,
pub muted_text_color: Color32,
}Expand description
Dialog layout configuration (width, height, colors)
Fields§
§width: f32Width, in egui logical points.
height: f32Outer height override; zero sizes the dialog for the active tab.
bg_color: Color32Background color value; the settings dialog currently uses the supplied theme instead.
tab_bg_color: Color32Tab background color value; the settings dialog currently uses the supplied theme instead.
tab_active_color: Color32Tab active color value; the settings dialog currently uses the supplied theme instead.
text_color: Color32Text color value; the settings dialog currently uses the supplied theme instead.
muted_text_color: Color32Muted text color value; the settings dialog currently uses the supplied theme instead.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SettingsDialogConfig
impl RefUnwindSafe for SettingsDialogConfig
impl Send for SettingsDialogConfig
impl Sync for SettingsDialogConfig
impl Unpin for SettingsDialogConfig
impl UnsafeUnpin for SettingsDialogConfig
impl UnwindSafe for SettingsDialogConfig
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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