Struct webrtc_audio_processing::VoiceDetection
source · [−]pub struct VoiceDetection {
pub detection_likelihood: VoiceDetectionLikelihood,
}
Expand description
Voice detection configuration.
Fields
detection_likelihood: VoiceDetectionLikelihood
Specifies the likelihood that a frame will be declared to contain voice. A higher value makes it more likely that speech will not be clipped, at the expense of more noise being detected as voice.
Trait Implementations
sourceimpl Clone for VoiceDetection
impl Clone for VoiceDetection
sourcefn clone(&self) -> VoiceDetection
fn clone(&self) -> VoiceDetection
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 VoiceDetection
impl Debug for VoiceDetection
sourceimpl From<VoiceDetection> for VoiceDetection
impl From<VoiceDetection> for VoiceDetection
sourcefn from(other: VoiceDetection) -> VoiceDetection
fn from(other: VoiceDetection) -> VoiceDetection
Converts to this type from the input type.
sourceimpl PartialEq<VoiceDetection> for VoiceDetection
impl PartialEq<VoiceDetection> for VoiceDetection
sourcefn eq(&self, other: &VoiceDetection) -> bool
fn eq(&self, other: &VoiceDetection) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &VoiceDetection) -> bool
fn ne(&self, other: &VoiceDetection) -> bool
This method tests for !=
.
impl StructuralPartialEq for VoiceDetection
Auto Trait Implementations
impl RefUnwindSafe for VoiceDetection
impl Send for VoiceDetection
impl Sync for VoiceDetection
impl Unpin for VoiceDetection
impl UnwindSafe for VoiceDetection
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more