[][src]Struct webrender_api::QualitySettings

pub struct QualitySettings {
    pub allow_sacrificing_subpixel_aa: bool,
}

Various settings that the caller can select based on desired tradeoffs between rendering quality and performance / power usage.

Fields

allow_sacrificing_subpixel_aa: bool

If true, allow picture cache slices to be created that may prevent subpixel AA on text being used due to lack of opaque background. This often allows a significant performance win on pages that interleave scroll regions with fixed position elements.

Trait Implementations

impl Clone for QualitySettings[src]

impl Copy for QualitySettings[src]

impl Default for QualitySettings[src]

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

impl Serialize for QualitySettings[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: 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.