Enum webrtc_media::track::setting::audio::NoiseSuppression
source · [−]pub enum NoiseSuppression {
Off,
On,
}
Expand description
Noise suppression is often desirable on the input signal recorded by the microphone.
There are cases where it is not needed and it is desirable to turn it off so that the audio is not altered. This allows applications to control this behavior.
Specification
Variants
Off
On
Trait Implementations
sourceimpl Clone for NoiseSuppression
impl Clone for NoiseSuppression
sourcefn clone(&self) -> NoiseSuppression
fn clone(&self) -> NoiseSuppression
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for NoiseSuppression
impl Debug for NoiseSuppression
sourceimpl From<bool> for NoiseSuppression
impl From<bool> for NoiseSuppression
sourceimpl Ord for NoiseSuppression
impl Ord for NoiseSuppression
sourcefn cmp(&self, other: &NoiseSuppression) -> Ordering
fn cmp(&self, other: &NoiseSuppression) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Self
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Self
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<NoiseSuppression> for NoiseSuppression
impl PartialEq<NoiseSuppression> for NoiseSuppression
sourcefn eq(&self, other: &NoiseSuppression) -> bool
fn eq(&self, other: &NoiseSuppression) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourceimpl PartialOrd<NoiseSuppression> for NoiseSuppression
impl PartialOrd<NoiseSuppression> for NoiseSuppression
sourcefn partial_cmp(&self, other: &NoiseSuppression) -> Option<Ordering>
fn partial_cmp(&self, other: &NoiseSuppression) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl Copy for NoiseSuppression
impl Eq for NoiseSuppression
impl StructuralEq for NoiseSuppression
impl StructuralPartialEq for NoiseSuppression
Auto Trait Implementations
impl RefUnwindSafe for NoiseSuppression
impl Send for NoiseSuppression
impl Sync for NoiseSuppression
impl Unpin for NoiseSuppression
impl UnwindSafe for NoiseSuppression
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more