Struct webrender_api::QualitySettings
source · pub struct QualitySettings {
pub force_subpixel_aa_where_possible: bool,
}
Expand description
Various settings that the caller can select based on desired tradeoffs between rendering quality and performance / power usage.
Fields§
§force_subpixel_aa_where_possible: bool
If true, disable creating separate picture cache slices when the scroll root changes. This gives maximum opportunity to find an opaque background, which enables subpixel AA. However, it is usually significantly more expensive to render when scrolling.
Trait Implementations§
source§impl Clone for QualitySettings
impl Clone for QualitySettings
source§fn clone(&self) -> QualitySettings
fn clone(&self) -> QualitySettings
Returns a copy 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 Default for QualitySettings
impl Default for QualitySettings
source§impl<'de> Deserialize<'de> for QualitySettings
impl<'de> Deserialize<'de> for QualitySettings
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 Serialize for QualitySettings
impl Serialize for QualitySettings
impl Copy for QualitySettings
Auto Trait Implementations§
impl Freeze for QualitySettings
impl RefUnwindSafe for QualitySettings
impl Send for QualitySettings
impl Sync for QualitySettings
impl Unpin for QualitySettings
impl UnwindSafe for QualitySettings
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