pub struct BackgroundTypeWallpaper {
pub is_blurred: bool,
pub is_moving: bool,
}
Expand description
A wallpaper in JPEG format
Fields§
§is_blurred: bool
True, if the wallpaper must be downscaled to fit in 450x450 square and then box-blurred with radius 12
is_moving: bool
True, if the background needs to be slightly moved when device is tilted
Trait Implementations§
Source§impl Clone for BackgroundTypeWallpaper
impl Clone for BackgroundTypeWallpaper
Source§fn clone(&self) -> BackgroundTypeWallpaper
fn clone(&self) -> BackgroundTypeWallpaper
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for BackgroundTypeWallpaper
impl Debug for BackgroundTypeWallpaper
Source§impl Default for BackgroundTypeWallpaper
impl Default for BackgroundTypeWallpaper
Source§fn default() -> BackgroundTypeWallpaper
fn default() -> BackgroundTypeWallpaper
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BackgroundTypeWallpaper
impl<'de> Deserialize<'de> for BackgroundTypeWallpaper
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for BackgroundTypeWallpaper
impl PartialEq for BackgroundTypeWallpaper
Source§impl Serialize for BackgroundTypeWallpaper
impl Serialize for BackgroundTypeWallpaper
impl StructuralPartialEq for BackgroundTypeWallpaper
Auto Trait Implementations§
impl Freeze for BackgroundTypeWallpaper
impl RefUnwindSafe for BackgroundTypeWallpaper
impl Send for BackgroundTypeWallpaper
impl Sync for BackgroundTypeWallpaper
impl Unpin for BackgroundTypeWallpaper
impl UnwindSafe for BackgroundTypeWallpaper
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more