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 From<Theme> for FrameConfig
Available on wayland_platform
and (x11_platform
or wayland_platform
) and free_unix
and crate feature sctk-adwaita
only.
impl From<Theme> for FrameConfig
Available on
wayland_platform
and (x11_platform
or wayland_platform
) and free_unix
and crate feature sctk-adwaita
only.source§impl PartialEq<Theme> for Theme
impl PartialEq<Theme> for Theme
source§impl TryFrom<&str> for Theme
Available on wayland_platform
and (x11_platform
or wayland_platform
) and free_unix
only.
impl TryFrom<&str> for Theme
Available on
wayland_platform
and (x11_platform
or wayland_platform
) and free_unix
only.