pub struct SpeechSegment {
pub start_ms: u32,
pub end_ms: u32,
}Available on crate feature
audio only.Expand description
A detected speech segment within an audio frame.
Fields§
§start_ms: u32Start offset in milliseconds.
end_ms: u32End offset in milliseconds.
Trait Implementations§
Source§impl Clone for SpeechSegment
impl Clone for SpeechSegment
Source§fn clone(&self) -> SpeechSegment
fn clone(&self) -> SpeechSegment
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 moreSource§impl Debug for SpeechSegment
impl Debug for SpeechSegment
Source§impl PartialEq for SpeechSegment
impl PartialEq for SpeechSegment
Source§fn eq(&self, other: &SpeechSegment) -> bool
fn eq(&self, other: &SpeechSegment) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for SpeechSegment
impl StructuralPartialEq for SpeechSegment
Auto Trait Implementations§
impl Freeze for SpeechSegment
impl RefUnwindSafe for SpeechSegment
impl Send for SpeechSegment
impl Sync for SpeechSegment
impl Unpin for SpeechSegment
impl UnsafeUnpin for SpeechSegment
impl UnwindSafe for SpeechSegment
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.