pub struct EmptyTheme;
Expand description
An empty theme. Use if no theme support is needed.
If you do need themes (i.e. certain data which is shared between all your styles), use a custom type and implement the Theme trait.
Trait Implementations§
Source§impl Clone for EmptyTheme
impl Clone for EmptyTheme
Source§fn clone(&self) -> EmptyTheme
fn clone(&self) -> EmptyTheme
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for EmptyTheme
Auto Trait Implementations§
impl Freeze for EmptyTheme
impl RefUnwindSafe for EmptyTheme
impl Send for EmptyTheme
impl Sync for EmptyTheme
impl Unpin for EmptyTheme
impl UnwindSafe for EmptyTheme
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