pub struct AdaptiveQualityConfig {
pub target_fps: u16,
pub enabled: bool,
}Expand description
Caller policy for the adaptive loop.
Fields§
§target_fps: u16Frame rate the loop steers toward, in frames per second.
enabled: boolWhether the loop may move a tier. Publication callers clear this so converged output stays reproducible.
Implementations§
Source§impl AdaptiveQualityConfig
impl AdaptiveQualityConfig
Sourcepub const fn interactive(target_fps: u16) -> Self
pub const fn interactive(target_fps: u16) -> Self
An adapting loop steering toward target_fps.
Sourcepub const fn publication() -> Self
pub const fn publication() -> Self
A fixed-tier loop for deterministic publication output.
Trait Implementations§
Source§impl Clone for AdaptiveQualityConfig
impl Clone for AdaptiveQualityConfig
impl Copy for AdaptiveQualityConfig
Source§impl Debug for AdaptiveQualityConfig
impl Debug for AdaptiveQualityConfig
Source§impl Default for AdaptiveQualityConfig
impl Default for AdaptiveQualityConfig
impl Eq for AdaptiveQualityConfig
Source§impl PartialEq for AdaptiveQualityConfig
impl PartialEq for AdaptiveQualityConfig
impl StructuralPartialEq for AdaptiveQualityConfig
Auto Trait Implementations§
impl Freeze for AdaptiveQualityConfig
impl RefUnwindSafe for AdaptiveQualityConfig
impl Send for AdaptiveQualityConfig
impl Sync for AdaptiveQualityConfig
impl Unpin for AdaptiveQualityConfig
impl UnsafeUnpin for AdaptiveQualityConfig
impl UnwindSafe for AdaptiveQualityConfig
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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