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