pub enum Theme {
Light,
Dark,
}
Expand description
The theme variant to use.
Variants§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Theme
impl<'de> Deserialize<'de> for Theme
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 for Theme
impl PartialEq for Theme
impl Copy for Theme
impl Eq for Theme
impl StructuralEq for Theme
impl StructuralPartialEq for Theme
Auto Trait Implementations§
impl RefUnwindSafe for Theme
impl Send for Theme
impl Sync for Theme
impl Unpin for Theme
impl UnwindSafe for Theme
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