pub struct MoonshineRecognizer { /* private fields */ }
Implementations§
Source§impl MoonshineRecognizer
impl MoonshineRecognizer
pub fn new(config: MoonshineConfig) -> Result<Self>
pub fn transcribe( &mut self, sample_rate: u32, samples: Vec<f32>, ) -> MoonshineRecognizerResult
Trait Implementations§
Source§impl Debug for MoonshineRecognizer
impl Debug for MoonshineRecognizer
Source§impl Drop for MoonshineRecognizer
impl Drop for MoonshineRecognizer
impl Send for MoonshineRecognizer
impl Sync for MoonshineRecognizer
Auto Trait Implementations§
impl Freeze for MoonshineRecognizer
impl RefUnwindSafe for MoonshineRecognizer
impl Unpin for MoonshineRecognizer
impl UnwindSafe for MoonshineRecognizer
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