pub struct ThemeManager;Implementations§
Source§impl ThemeManager
impl ThemeManager
Sourcepub fn show_status() -> String
pub fn show_status() -> String
✅ ZEIGT aktuellen Theme-Status (aus TOML)
Sourcepub async fn change_theme(theme_name: &str) -> Result<String>
pub async fn change_theme(theme_name: &str) -> Result<String>
✅ ASYNC LIVE THEME CHANGE - Lädt aus TOML, keine Hardcodierung!
Sourcepub fn change_theme_sync(theme_name: &str) -> Result<String>
pub fn change_theme_sync(theme_name: &str) -> Result<String>
✅ SYNC Version - Immediate feedback + background config save
Sourcepub fn preview_theme(theme_name: &str) -> Result<String>
pub fn preview_theme(theme_name: &str) -> Result<String>
✅ THEME PREVIEW (aus TOML)
Auto Trait Implementations§
impl Freeze for ThemeManager
impl RefUnwindSafe for ThemeManager
impl Send for ThemeManager
impl Sync for ThemeManager
impl Unpin for ThemeManager
impl UnwindSafe for ThemeManager
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> 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