Enum tdesktop_theme::WallpaperType [−][src]
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 Debug for WallpaperType
[src]
impl Debug for WallpaperType
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for WallpaperType
[src]
impl PartialEq for WallpaperType
fn eq(&self, other: &WallpaperType) -> bool
[src]
fn eq(&self, other: &WallpaperType) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Clone for WallpaperType
[src]
impl Clone for WallpaperType
fn clone(&self) -> WallpaperType
[src]
fn clone(&self) -> WallpaperType
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for WallpaperType
[src]
impl Copy for WallpaperType
impl ToString for WallpaperType
[src]
impl ToString for WallpaperType
fn to_string(&self) -> String
[src]
fn to_string(&self) -> String
Returns a string corresponding to WallpaperType
's value.
Possible return values
Enum variant | String value |
---|---|
Tiled | "tiled" |
Background | "background" |
Auto Trait Implementations
impl Send for WallpaperType
impl Send for WallpaperType
impl Sync for WallpaperType
impl Sync for WallpaperType