#[non_exhaustive]pub struct Denoise {
pub strength: f64,
pub tune: String,
/* private fields */
}
Expand description
Denoise preprocessing configuration.
Note: This configuration is not supported.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.strength: f64
Set strength of the denoise. Enter a value between 0 and 1. The higher the value, the smoother the image. 0 is no denoising. The default is 0.
tune: String
Set the denoiser mode. The default is standard
.
Supported denoiser modes:
standard
grain
Implementations§
Trait Implementations§
impl StructuralPartialEq for Denoise
Auto Trait Implementations§
impl Freeze for Denoise
impl RefUnwindSafe for Denoise
impl Send for Denoise
impl Sync for Denoise
impl Unpin for Denoise
impl UnwindSafe for Denoise
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