pub struct ScoreFrames {
pub sample_rate: u32,
pub hop: u32,
}Expand description
The detector’s sample rate and hop for Analysis::from_scores.
Construct with named fields; both are validated when the analysis is created.
Fields§
§sample_rate: u32Detector sample rate in Hz, which may differ from the original audio’s rate.
hop: u32Samples per score frame at the detector’s sample rate.
Trait Implementations§
Source§impl Clone for ScoreFrames
impl Clone for ScoreFrames
impl Copy for ScoreFrames
Source§impl Debug for ScoreFrames
impl Debug for ScoreFrames
impl Eq for ScoreFrames
Source§impl PartialEq for ScoreFrames
impl PartialEq for ScoreFrames
impl StructuralPartialEq for ScoreFrames
Auto Trait Implementations§
impl Freeze for ScoreFrames
impl RefUnwindSafe for ScoreFrames
impl Send for ScoreFrames
impl Sync for ScoreFrames
impl Unpin for ScoreFrames
impl UnsafeUnpin for ScoreFrames
impl UnwindSafe for ScoreFrames
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