pub struct ModelStore { /* private fields */ }Expand description
Data type for model store.
Implementations§
Source§impl ModelStore
impl ModelStore
Sourcepub fn models_dir(&self) -> PathBuf
pub fn models_dir(&self) -> PathBuf
Returns models dir.
Sourcepub fn model_path(&self, model: WhisperCppModel) -> PathBuf
pub fn model_path(&self, model: WhisperCppModel) -> PathBuf
Returns model path.
Sourcepub fn lock_path(&self, model: WhisperCppModel) -> PathBuf
pub fn lock_path(&self, model: WhisperCppModel) -> PathBuf
Returns lock path.
Sourcepub fn catalog(&self) -> WhisperCppCatalog
pub fn catalog(&self) -> WhisperCppCatalog
Returns catalog.
Trait Implementations§
Source§impl Clone for ModelStore
impl Clone for ModelStore
Source§fn clone(&self) -> ModelStore
fn clone(&self) -> ModelStore
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 moreAuto Trait Implementations§
impl Freeze for ModelStore
impl RefUnwindSafe for ModelStore
impl Send for ModelStore
impl Sync for ModelStore
impl Unpin for ModelStore
impl UnsafeUnpin for ModelStore
impl UnwindSafe for ModelStore
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