pub struct SilenceRange {
pub start: Duration,
pub end: Duration,
}Expand description
A detected silent interval in an audio stream.
Both timestamps are measured from the beginning of the file.
Fields§
§start: DurationStart of the silent interval.
end: DurationEnd of the silent interval.
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 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SilenceRange
impl Debug for SilenceRange
Source§impl PartialEq for SilenceRange
impl PartialEq for SilenceRange
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