[−][src]Enum tdesktop_theme::WallpaperType
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 Clone for WallpaperType
[src]
pub fn clone(&self) -> WallpaperType
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for WallpaperType
[src]
impl Debug for WallpaperType
[src]
impl PartialEq<WallpaperType> for WallpaperType
[src]
pub fn eq(&self, other: &WallpaperType) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[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 variant | String value |
---|---|
Tiled | "tiled" |
Background | "background" |
Auto Trait Implementations
impl RefUnwindSafe for WallpaperType
[src]
impl Send for WallpaperType
[src]
impl Sync for WallpaperType
[src]
impl Unpin for WallpaperType
[src]
impl UnwindSafe for WallpaperType
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,