pub struct SilenceRange {
pub start_us: i64,
pub end_us: i64,
pub channel: Option<usize>,
}Expand description
A detected silent region, in microseconds. channel is the 1-based channel
number in mono mode, or None for combined detection.
Fields§
§start_us: i64§end_us: i64§channel: Option<usize>Trait Implementations§
Source§impl Clone for SilenceRange
impl Clone for SilenceRange
Source§fn clone(&self) -> SilenceRange
fn clone(&self) -> SilenceRange
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SilenceRange
Source§impl Debug for SilenceRange
impl Debug for SilenceRange
Source§impl PartialEq for SilenceRange
impl PartialEq for SilenceRange
Source§fn eq(&self, other: &SilenceRange) -> bool
fn eq(&self, other: &SilenceRange) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SilenceRange
Auto Trait Implementations§
impl Freeze for SilenceRange
impl RefUnwindSafe for SilenceRange
impl Send for SilenceRange
impl Sync for SilenceRange
impl Unpin for SilenceRange
impl UnsafeUnpin for SilenceRange
impl UnwindSafe for SilenceRange
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