Struct weresocool_shared::Settings
source · [−]pub struct Settings {
pub pad_end: bool,
pub loop_play: bool,
pub mic: bool,
pub sample_rate: f64,
pub yin_buffer_size: usize,
pub buffer_size: usize,
pub probability_threshold: f32,
pub gain_threshold_min: f32,
pub channels: i32,
pub interleaved: bool,
pub max_freq: f64,
pub min_freq: f64,
}Fields
pad_end: boolloop_play: boolmic: boolsample_rate: f64yin_buffer_size: usizebuffer_size: usizeprobability_threshold: f32gain_threshold_min: f32channels: i32interleaved: boolmax_freq: f64min_freq: f64Trait Implementations
impl StructuralPartialEq for Settings
Auto Trait Implementations
impl RefUnwindSafe for Settings
impl Send for Settings
impl Sync for Settings
impl Unpin for Settings
impl UnwindSafe for Settings
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more