pub struct BpmCandidate {
pub bpm: f32,
pub confidence: f32,
}Expand description
A BPM detection candidate with its confidence value.
Fields§
§bpm: f32The detected tempo in beats per minute
confidence: f32Confidence value from autocorrelation (higher = more confident)
Implementations§
Trait Implementations§
Source§impl Clone for BpmCandidate
impl Clone for BpmCandidate
Source§fn clone(&self) -> BpmCandidate
fn clone(&self) -> BpmCandidate
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 BpmCandidate
impl Debug for BpmCandidate
Source§impl PartialEq for BpmCandidate
impl PartialEq for BpmCandidate
impl Copy for BpmCandidate
impl StructuralPartialEq for BpmCandidate
Auto Trait Implementations§
impl Freeze for BpmCandidate
impl RefUnwindSafe for BpmCandidate
impl Send for BpmCandidate
impl Sync for BpmCandidate
impl Unpin for BpmCandidate
impl UnwindSafe for BpmCandidate
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