Enum theme2::Appearance
source · pub enum Appearance {
Light,
Dark,
}
Variants§
Trait Implementations§
source§impl Clone for Appearance
impl Clone for Appearance
source§fn clone(&self) -> Appearance
fn clone(&self) -> Appearance
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 Appearance
impl Debug for Appearance
source§impl<'de> Deserialize<'de> for Appearance
impl<'de> Deserialize<'de> for Appearance
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<Appearance> for Appearance
impl PartialEq<Appearance> for Appearance
source§fn eq(&self, other: &Appearance) -> bool
fn eq(&self, other: &Appearance) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for Appearance
impl StructuralPartialEq for Appearance
Auto Trait Implementations§
impl RefUnwindSafe for Appearance
impl Send for Appearance
impl Sync for Appearance
impl Unpin for Appearance
impl UnwindSafe for Appearance
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