pub struct Clip {
pub source: ClipSource,
pub audio: Vec<f32>,
pub truth: Option<String>,
pub recorded: Option<String>,
}Expand description
One clip of audio, and whatever is known about it.
Fields§
§source: ClipSource§audio: Vec<f32>§truth: Option<String>The words a run is scored against where they are KNOWN: the
read-aloud passage, and nothing else. None for a saved take,
whose text.txt is a model’s output rather than truth.
recorded: Option<String>The in-use model’s own words for this audio, where a take saved them.
Auto Trait Implementations§
impl Freeze for Clip
impl RefUnwindSafe for Clip
impl Send for Clip
impl Sync for Clip
impl Unpin for Clip
impl UnsafeUnpin for Clip
impl UnwindSafe for Clip
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