pub enum Tier {
Floor,
Rich,
}Expand description
Which quality tier a renderer is running (ADR-0045).
Two named levels rather than a continuum: the output of a preset has to be predictable enough to baseline, document, and reproduce in a bug report, which a load-history-dependent feature-shedding scheme cannot deliver (ADR-0045 Alternative B).
Variants§
Floor
The NFR §1/§2 iGPU floor — the pre-tier engine’s exact constants. The
default here because it is the safe answer: a Tier value that appeared
from nowhere should not raise anyone’s budgets.
Rich
Calibrated for a midrange discrete GPU: higher particle, segment and resolution budgets, same visual grammar.
Implementations§
Source§impl Tier
impl Tier
Sourcepub fn as_str(self) -> &'static str
pub fn as_str(self) -> &'static str
The lowercase name the CLI, the env var and the config file all use.
Trait Implementations§
impl Copy for Tier
impl Eq for Tier
impl StructuralPartialEq for Tier
Auto Trait Implementations§
impl Freeze for Tier
impl RefUnwindSafe for Tier
impl Send for Tier
impl Sync for Tier
impl Unpin for Tier
impl UnsafeUnpin for Tier
impl UnwindSafe for Tier
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.