[][src]Struct rtdlib::types::BackgroundTypePattern

pub struct BackgroundTypePattern { /* fields omitted */ }

A PNG or TGV (gzipped subset of SVG with MIME type "application/x-tgwallpattern") pattern to be combined with the background fill chosen by the user

Implementations

impl BackgroundTypePattern[src]

pub fn from_json<S: AsRef<str>>(json: S) -> RTDResult<Self>[src]

pub fn builder() -> RTDBackgroundTypePatternBuilder[src]

pub fn fill(&self) -> &BackgroundFill[src]

pub fn intensity(&self) -> i64[src]

pub fn is_moving(&self) -> bool[src]

Trait Implementations

impl AsRef<BackgroundTypePattern> for BackgroundTypePattern[src]

impl Clone for BackgroundTypePattern[src]

impl Debug for BackgroundTypePattern[src]

impl Default for BackgroundTypePattern[src]

impl<'de> Deserialize<'de> for BackgroundTypePattern[src]

impl RObject for BackgroundTypePattern[src]

impl Serialize for BackgroundTypePattern[src]

impl TDBackgroundType for BackgroundTypePattern[src]

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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.