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§fn clone(&self) -> ThemeExtensions
fn clone(&self) -> ThemeExtensions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ThemeExtensions
impl Debug for ThemeExtensions
Source§impl Default for ThemeExtensions
impl Default for ThemeExtensions
Source§fn default() -> ThemeExtensions
fn default() -> ThemeExtensions
Returns the “default value” for a type. Read more
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