#[non_exhaustive]pub struct NoiseReducerSpatialFilterSettingsBuilder { /* private fields */ }
Expand description
A builder for NoiseReducerSpatialFilterSettings
.
Implementations§
source§impl NoiseReducerSpatialFilterSettingsBuilder
impl NoiseReducerSpatialFilterSettingsBuilder
sourcepub fn post_filter_sharpen_strength(self, input: i32) -> Self
pub fn post_filter_sharpen_strength(self, input: i32) -> Self
Specify strength of post noise reduction sharpening filter, with 0 disabling the filter and 3 enabling it at maximum strength.
sourcepub fn set_post_filter_sharpen_strength(self, input: Option<i32>) -> Self
pub fn set_post_filter_sharpen_strength(self, input: Option<i32>) -> Self
Specify strength of post noise reduction sharpening filter, with 0 disabling the filter and 3 enabling it at maximum strength.
sourcepub fn get_post_filter_sharpen_strength(&self) -> &Option<i32>
pub fn get_post_filter_sharpen_strength(&self) -> &Option<i32>
Specify strength of post noise reduction sharpening filter, with 0 disabling the filter and 3 enabling it at maximum strength.
sourcepub fn speed(self, input: i32) -> Self
pub fn speed(self, input: i32) -> Self
The speed of the filter, from -2 (lower speed) to 3 (higher speed), with 0 being the nominal value.
sourcepub fn set_speed(self, input: Option<i32>) -> Self
pub fn set_speed(self, input: Option<i32>) -> Self
The speed of the filter, from -2 (lower speed) to 3 (higher speed), with 0 being the nominal value.
sourcepub fn get_speed(&self) -> &Option<i32>
pub fn get_speed(&self) -> &Option<i32>
The speed of the filter, from -2 (lower speed) to 3 (higher speed), with 0 being the nominal value.
sourcepub fn strength(self, input: i32) -> Self
pub fn strength(self, input: i32) -> Self
Relative strength of noise reducing filter. Higher values produce stronger filtering.
sourcepub fn set_strength(self, input: Option<i32>) -> Self
pub fn set_strength(self, input: Option<i32>) -> Self
Relative strength of noise reducing filter. Higher values produce stronger filtering.
sourcepub fn get_strength(&self) -> &Option<i32>
pub fn get_strength(&self) -> &Option<i32>
Relative strength of noise reducing filter. Higher values produce stronger filtering.
sourcepub fn build(self) -> NoiseReducerSpatialFilterSettings
pub fn build(self) -> NoiseReducerSpatialFilterSettings
Consumes the builder and constructs a NoiseReducerSpatialFilterSettings
.
Trait Implementations§
source§impl Clone for NoiseReducerSpatialFilterSettingsBuilder
impl Clone for NoiseReducerSpatialFilterSettingsBuilder
source§fn clone(&self) -> NoiseReducerSpatialFilterSettingsBuilder
fn clone(&self) -> NoiseReducerSpatialFilterSettingsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for NoiseReducerSpatialFilterSettingsBuilder
impl Default for NoiseReducerSpatialFilterSettingsBuilder
source§fn default() -> NoiseReducerSpatialFilterSettingsBuilder
fn default() -> NoiseReducerSpatialFilterSettingsBuilder
source§impl PartialEq for NoiseReducerSpatialFilterSettingsBuilder
impl PartialEq for NoiseReducerSpatialFilterSettingsBuilder
source§fn eq(&self, other: &NoiseReducerSpatialFilterSettingsBuilder) -> bool
fn eq(&self, other: &NoiseReducerSpatialFilterSettingsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for NoiseReducerSpatialFilterSettingsBuilder
Auto Trait Implementations§
impl Freeze for NoiseReducerSpatialFilterSettingsBuilder
impl RefUnwindSafe for NoiseReducerSpatialFilterSettingsBuilder
impl Send for NoiseReducerSpatialFilterSettingsBuilder
impl Sync for NoiseReducerSpatialFilterSettingsBuilder
impl Unpin for NoiseReducerSpatialFilterSettingsBuilder
impl UnwindSafe for NoiseReducerSpatialFilterSettingsBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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>
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>
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