Enum theme2::LoadThemes
source · pub enum LoadThemes {
JustBase,
All,
}
Variants§
JustBase
Only load the base theme.
No user themes will be loaded.
All
Load all of the built-in themes.
Trait Implementations§
source§impl Clone for LoadThemes
impl Clone for LoadThemes
source§fn clone(&self) -> LoadThemes
fn clone(&self) -> LoadThemes
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 moresource§impl Debug for LoadThemes
impl Debug for LoadThemes
source§impl PartialEq<LoadThemes> for LoadThemes
impl PartialEq<LoadThemes> for LoadThemes
source§fn eq(&self, other: &LoadThemes) -> bool
fn eq(&self, other: &LoadThemes) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for LoadThemes
impl Eq for LoadThemes
impl StructuralEq for LoadThemes
impl StructuralPartialEq for LoadThemes
Auto Trait Implementations§
impl RefUnwindSafe for LoadThemes
impl Send for LoadThemes
impl Sync for LoadThemes
impl Unpin for LoadThemes
impl UnwindSafe for LoadThemes
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.