pub enum Preset {
Veryfast,
Fast,
Base,
Slow,
Veryslow,
}Expand description
Speed vs quality dial.
Each denoising family reads the same dial and fills in its own knobs
from it. For nlmeans that is nlmeans_variant_for,
nlmeans_temporal_radius_for, and nlmeans_search_radius_for.
For nl4d it is nl4d_temporal_radius_for and
nl4d_spatial_radius_for.
Both front ends parse the same names from this one type, so a preset resolves to the same dials everywhere it is used.
Variants§
Veryfast
Fastest and lowest quality.
Fast
One step up from veryfast.
Base
The default, favouring quality over speed.
Slow
One step down from veryslow.
Veryslow
Slowest and highest quality.
Trait Implementations§
impl Copy for Preset
impl Eq for Preset
impl StructuralPartialEq for Preset
Auto Trait Implementations§
impl Freeze for Preset
impl RefUnwindSafe for Preset
impl Send for Preset
impl Sync for Preset
impl Unpin for Preset
impl UnsafeUnpin for Preset
impl UnwindSafe for Preset
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<C> CloneExpand for Cwhere
C: Clone,
impl<C> CloneExpand for Cwhere
C: Clone,
fn __expand_clone_method(&self, _scope: &mut Scope) -> C
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.