pub enum PerformanceProfile {
High,
Medium,
Low,
UltraLow,
}Expand description
Performance profile tier for cache settings.
Variants§
High
High-end system (discrete GPU, many cores, 32GB+ RAM)
Medium
Mid-range system (modern iGPU, 16GB RAM)
Low
Budget system (older CPU, 8GB RAM)
UltraLow
Very old or embedded hardware (4GB RAM)
Trait Implementations§
Source§impl Clone for PerformanceProfile
impl Clone for PerformanceProfile
Source§fn clone(&self) -> PerformanceProfile
fn clone(&self) -> PerformanceProfile
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 PerformanceProfile
impl Debug for PerformanceProfile
Source§impl<'de> Deserialize<'de> for PerformanceProfile
impl<'de> Deserialize<'de> for PerformanceProfile
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 PerformanceProfile
impl PartialEq for PerformanceProfile
Source§impl Serialize for PerformanceProfile
impl Serialize for PerformanceProfile
impl Copy for PerformanceProfile
impl Eq for PerformanceProfile
impl StructuralPartialEq for PerformanceProfile
Auto Trait Implementations§
impl Freeze for PerformanceProfile
impl RefUnwindSafe for PerformanceProfile
impl Send for PerformanceProfile
impl Sync for PerformanceProfile
impl Unpin for PerformanceProfile
impl UnwindSafe for PerformanceProfile
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