pub struct ThemeExtensions { /* private fields */ }Implementations§
Source§impl ThemeExtensions
impl ThemeExtensions
pub fn new() -> Self
pub fn get<T: Any + Send + Sync>(&self) -> Option<&T>
pub fn insert<T: Any + Send + Sync>(&mut self, value: T)
pub fn remove<T: Any + Send + Sync>(&mut self) -> bool
pub fn contains<T: Any + Send + Sync>(&self) -> bool
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
Trait Implementations§
Source§impl Clone for ThemeExtensions
impl Clone for ThemeExtensions
Source§impl Debug for ThemeExtensions
impl Debug for ThemeExtensions
Source§impl Default for ThemeExtensions
impl Default for ThemeExtensions
Auto Trait Implementations§
impl !RefUnwindSafe for ThemeExtensions
impl !UnwindSafe for ThemeExtensions
impl Freeze for ThemeExtensions
impl Send for ThemeExtensions
impl Sync for ThemeExtensions
impl Unpin for ThemeExtensions
impl UnsafeUnpin for ThemeExtensions
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