Enum rtdlib::types::BackgroundType [−][src]
pub enum BackgroundType {
Pattern(BackgroundTypePattern),
Solid(BackgroundTypeSolid),
Wallpaper(BackgroundTypeWallpaper),
// some variants omitted
}
Expand description
Describes a type of a background
Variants
A PNG pattern to be combined with the color chosen by the user
Tuple Fields of Pattern
A solid background
Tuple Fields of Solid
A wallpaper in JPEG format
Tuple Fields of Wallpaper
Implementations
Trait Implementations
Performs the conversion.
fn deserialize<D>(deserializer: D) -> Result<BackgroundType, D::Error> where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<BackgroundType, D::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for BackgroundType
impl Send for BackgroundType
impl Sync for BackgroundType
impl Unpin for BackgroundType
impl UnwindSafe for BackgroundType
Blanket Implementations
Mutably borrows from an owned value. Read more