[][src]Enum tdesktop_theme::WallpaperType

pub enum WallpaperType {
    Tiled,
    Background,
}

Represents possible wallpaper types.

Variants

Tiled

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.

Background

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 Clone for WallpaperType[src]

impl Copy for WallpaperType[src]

impl Debug for WallpaperType[src]

impl PartialEq<WallpaperType> for WallpaperType[src]

impl StructuralPartialEq for WallpaperType[src]

impl ToString for WallpaperType[src]

pub fn to_string(&self) -> String[src]

Returns a string corresponding to WallpaperType's value.

Possible return values

Enum variantString value
Tiled"tiled"
Background"background"

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.