Struct theme2::ThemeRegistry
source · pub struct ThemeRegistry { /* private fields */ }
Implementations§
source§impl ThemeRegistry
impl ThemeRegistry
pub fn list_names( &self, _staff: bool ) -> impl Iterator<Item = SharedString> + '_
pub fn list(&self, _staff: bool) -> impl Iterator<Item = SharedString> + '_
pub fn get(&self, name: &str) -> Result<Arc<Theme>>
pub fn load_user_themes(&mut self)
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for ThemeRegistry
impl Send for ThemeRegistry
impl Sync for ThemeRegistry
impl Unpin for ThemeRegistry
impl UnwindSafe for ThemeRegistry
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