pub trait WakewordRefBuildFromBuffers {
// Provided method
fn new_from_sample_buffers(
name: String,
threshold: Option<f32>,
avg_threshold: Option<f32>,
samples: HashMap<String, Vec<u8>>,
mfcc_size: u16,
) -> Result<WakewordRef, String> { ... }
}Provided Methods§
fn new_from_sample_buffers( name: String, threshold: Option<f32>, avg_threshold: Option<f32>, samples: HashMap<String, Vec<u8>>, mfcc_size: u16, ) -> Result<WakewordRef, String>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.