pub enum RenderQuality {
Low,
Medium,
High,
Ultra,
}Expand description
Rendering quality levels
Variants§
Low
Low quality (fast)
Medium
Medium quality (balanced)
High
High quality (slow)
Ultra
Ultra quality (very slow)
Implementations§
Source§impl RenderQuality
impl RenderQuality
Sourcepub const fn resolution_multiplier(&self) -> f64
pub const fn resolution_multiplier(&self) -> f64
Returns the tile resolution multiplier for this quality level
Sourcepub const fn interpolation_quality(&self) -> &'static str
pub const fn interpolation_quality(&self) -> &'static str
Returns the interpolation quality for this level
Trait Implementations§
Source§impl Clone for RenderQuality
impl Clone for RenderQuality
Source§fn clone(&self) -> RenderQuality
fn clone(&self) -> RenderQuality
Returns a duplicate 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 Debug for RenderQuality
impl Debug for RenderQuality
Source§impl<'de> Deserialize<'de> for RenderQuality
impl<'de> Deserialize<'de> for RenderQuality
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 PartialEq for RenderQuality
impl PartialEq for RenderQuality
Source§impl Serialize for RenderQuality
impl Serialize for RenderQuality
impl Copy for RenderQuality
impl Eq for RenderQuality
impl StructuralPartialEq for RenderQuality
Auto Trait Implementations§
impl Freeze for RenderQuality
impl RefUnwindSafe for RenderQuality
impl Send for RenderQuality
impl Sync for RenderQuality
impl Unpin for RenderQuality
impl UnsafeUnpin for RenderQuality
impl UnwindSafe for RenderQuality
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