pub struct ModelFiles {
pub melspectrogram: PathBuf,
pub embedding: PathBuf,
pub classifier: PathBuf,
}Available on (crate features
livekit or openwakeword) and non-target_family=wasm only.Expand description
The two shared models sit beside the classifier, so naming the classifier names all three.
Fields§
§melspectrogram: PathBuf§embedding: PathBuf§classifier: PathBufImplementations§
Auto Trait Implementations§
impl Freeze for ModelFiles
impl RefUnwindSafe for ModelFiles
impl Send for ModelFiles
impl Sync for ModelFiles
impl Unpin for ModelFiles
impl UnsafeUnpin for ModelFiles
impl UnwindSafe for ModelFiles
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