Enum rtdlib::types::BackgroundType
source[−]pub enum BackgroundType {
Fill(BackgroundTypeFill),
Pattern(BackgroundTypePattern),
Wallpaper(BackgroundTypeWallpaper),
// some variants omitted
}
Expand description
Describes the type of a background
Variants
Fill(BackgroundTypeFill)
Tuple Fields
A filled background
Pattern(BackgroundTypePattern)
Tuple Fields
A PNG or TGV (gzipped subset of SVG with MIME type “application/x-tgwallpattern”) pattern to be combined with the background fill chosen by the user
Wallpaper(BackgroundTypeWallpaper)
Tuple Fields
A wallpaper in JPEG format
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