pub struct Leopard { /* private fields */ }
Implementations§
source§impl Leopard
impl Leopard
pub fn process(&self, pcm: &[i16]) -> Result<LeopardTranscript, LeopardError>
pub fn process_file<P: AsRef<Path>>( &self, audio_path: P ) -> Result<LeopardTranscript, LeopardError>
pub fn sample_rate(&self) -> u32
pub fn version(&self) -> &str
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Leopard
impl Send for Leopard
impl Sync for Leopard
impl Unpin for Leopard
impl UnwindSafe for Leopard
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