pub struct SoftRenderQuality {
pub aa_mode: AaMode,
pub shadow_quality: ShadowQuality,
}Expand description
Combined quality preset for SoftBackend::with_quality.
Use the low, balanced,
and high constructors to get sensible presets,
or build a custom config with struct syntax.
Fields§
§aa_mode: AaModeAnti-aliasing strategy.
shadow_quality: ShadowQualityShadow rendering quality.
Implementations§
Trait Implementations§
Source§impl Clone for SoftRenderQuality
impl Clone for SoftRenderQuality
Source§fn clone(&self) -> SoftRenderQuality
fn clone(&self) -> SoftRenderQuality
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SoftRenderQuality
impl Debug for SoftRenderQuality
Source§impl PartialEq for SoftRenderQuality
impl PartialEq for SoftRenderQuality
impl StructuralPartialEq for SoftRenderQuality
Auto Trait Implementations§
impl Freeze for SoftRenderQuality
impl RefUnwindSafe for SoftRenderQuality
impl Send for SoftRenderQuality
impl Sync for SoftRenderQuality
impl Unpin for SoftRenderQuality
impl UnsafeUnpin for SoftRenderQuality
impl UnwindSafe for SoftRenderQuality
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more