Enum tdesktop_theme::WallpaperType[][src]

pub enum WallpaperType {
    Tiled,
    Background,
}

Represents possible wallpaper types.

Variants

If the wallpaper's name is tiled.*, this variant is chosen.

Tiled means that the image is placed at (0, 0) of the screen and then repeat along both axes until the screen is filled.

If the wallpaper's name is background.*, this variant is chosen.

Background means that the image is placed at the center of the screen and is scaled down or up to the size of the screen so that it fills the entire screen.

Trait Implementations

impl Debug for WallpaperType
[src]

Formats the value using the given formatter. Read more

impl PartialEq for WallpaperType
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Clone for WallpaperType
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for WallpaperType
[src]

impl ToString for WallpaperType
[src]

Returns a string corresponding to WallpaperType's value.

Possible return values

Enum variant String value
Tiled "tiled"
Background "background"

Auto Trait Implementations