#[non_exhaustive]pub struct VadSegment {
pub start_sample: i64,
pub end_sample: i64,
}Expand description
One speech segment, in samples of the run’s input: [start, end).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.start_sample: i64First sample of speech.
end_sample: i64First sample after speech.
Trait Implementations§
Source§impl Clone for VadSegment
impl Clone for VadSegment
impl Copy for VadSegment
Source§impl Debug for VadSegment
impl Debug for VadSegment
Source§impl Default for VadSegment
impl Default for VadSegment
impl Eq for VadSegment
Source§impl PartialEq for VadSegment
impl PartialEq for VadSegment
impl StructuralPartialEq for VadSegment
Auto Trait Implementations§
impl Freeze for VadSegment
impl RefUnwindSafe for VadSegment
impl Send for VadSegment
impl Sync for VadSegment
impl Unpin for VadSegment
impl UnsafeUnpin for VadSegment
impl UnwindSafe for VadSegment
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