pub enum WhisperCppModel {
TinyEn,
Tiny,
BaseEn,
Base,
SmallEn,
Small,
MediumEn,
Medium,
LargeV1,
LargeV2,
LargeV3,
LargeV3Turbo,
}Expand description
Variants describing whisper cpp model.
Variants§
TinyEn
The tiny en variant.
Tiny
The tiny variant.
BaseEn
The base en variant.
Base
The base variant.
SmallEn
The small en variant.
Small
The small variant.
MediumEn
The medium en variant.
Medium
The medium variant.
LargeV1
The large v1 variant.
LargeV2
The large v2 variant.
LargeV3
The large v3 variant.
LargeV3Turbo
The large v3 turbo variant.
Implementations§
Source§impl WhisperCppModel
impl WhisperCppModel
Sourcepub fn download_url(self) -> String
pub fn download_url(self) -> String
Returns download URL.
Sourcepub fn checksum_sha256(self) -> &'static str
pub fn checksum_sha256(self) -> &'static str
Returns checksum sha256.
Sourcepub fn multilingual(self) -> bool
pub fn multilingual(self) -> bool
Returns multilingual.
Trait Implementations§
Source§impl Clone for WhisperCppModel
impl Clone for WhisperCppModel
Source§fn clone(&self) -> WhisperCppModel
fn clone(&self) -> WhisperCppModel
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 WhisperCppModel
impl Debug for WhisperCppModel
Source§impl Default for WhisperCppModel
impl Default for WhisperCppModel
Source§fn default() -> WhisperCppModel
fn default() -> WhisperCppModel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WhisperCppModel
impl<'de> Deserialize<'de> for WhisperCppModel
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for WhisperCppModel
impl Display for WhisperCppModel
Source§impl Hash for WhisperCppModel
impl Hash for WhisperCppModel
Source§impl Ord for WhisperCppModel
impl Ord for WhisperCppModel
Source§fn cmp(&self, other: &WhisperCppModel) -> Ordering
fn cmp(&self, other: &WhisperCppModel) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for WhisperCppModel
impl PartialEq for WhisperCppModel
Source§fn eq(&self, other: &WhisperCppModel) -> bool
fn eq(&self, other: &WhisperCppModel) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for WhisperCppModel
impl PartialOrd for WhisperCppModel
Source§impl Serialize for WhisperCppModel
impl Serialize for WhisperCppModel
impl Copy for WhisperCppModel
impl Eq for WhisperCppModel
impl StructuralPartialEq for WhisperCppModel
Auto Trait Implementations§
impl Freeze for WhisperCppModel
impl RefUnwindSafe for WhisperCppModel
impl Send for WhisperCppModel
impl Sync for WhisperCppModel
impl Unpin for WhisperCppModel
impl UnsafeUnpin for WhisperCppModel
impl UnwindSafe for WhisperCppModel
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