pub struct AnalyzerConfig { /* private fields */ }Expand description
Configuration for the BPM analyzer.
Use the builder pattern to customize analyzer parameters:
§Example
use bpm_analyzer::AnalyzerConfig;
let config = AnalyzerConfig::builder()
.min_bpm(60.0)
.max_bpm(180.0)
.window_size(32768)
.build();Implementations§
Source§impl AnalyzerConfig
impl AnalyzerConfig
Sourcepub fn builder() -> AnalyzerConfigBuilder
pub fn builder() -> AnalyzerConfigBuilder
Create an instance of AnalyzerConfig using the builder syntax
Trait Implementations§
Source§impl Clone for AnalyzerConfig
impl Clone for AnalyzerConfig
Source§fn clone(&self) -> AnalyzerConfig
fn clone(&self) -> AnalyzerConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 AnalyzerConfig
impl Debug for AnalyzerConfig
impl Copy for AnalyzerConfig
Auto Trait Implementations§
impl Freeze for AnalyzerConfig
impl RefUnwindSafe for AnalyzerConfig
impl Send for AnalyzerConfig
impl Sync for AnalyzerConfig
impl Unpin for AnalyzerConfig
impl UnwindSafe for AnalyzerConfig
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