pub struct AudioFeatureSummary {
pub sample_rate: u32,
pub duration_seconds: f32,
pub frame_count: usize,
pub metrics: BTreeMap<String, f32>,
}Expand description
Summary metrics for an audio feature series.
Fields§
§sample_rate: u32Sample rate in hertz.
duration_seconds: f32Duration covered by the series.
frame_count: usizeNumber of feature frames.
metrics: BTreeMap<String, f32>Named finite summary metrics.
Implementations§
Trait Implementations§
Source§impl Clone for AudioFeatureSummary
impl Clone for AudioFeatureSummary
Source§fn clone(&self) -> AudioFeatureSummary
fn clone(&self) -> AudioFeatureSummary
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AudioFeatureSummary
impl Debug for AudioFeatureSummary
Source§impl<'de> Deserialize<'de> for AudioFeatureSummary
impl<'de> Deserialize<'de> for AudioFeatureSummary
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for AudioFeatureSummary
impl PartialEq for AudioFeatureSummary
Source§fn eq(&self, other: &AudioFeatureSummary) -> bool
fn eq(&self, other: &AudioFeatureSummary) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AudioFeatureSummary
impl Serialize for AudioFeatureSummary
impl StructuralPartialEq for AudioFeatureSummary
Auto Trait Implementations§
impl Freeze for AudioFeatureSummary
impl RefUnwindSafe for AudioFeatureSummary
impl Send for AudioFeatureSummary
impl Sync for AudioFeatureSummary
impl Unpin for AudioFeatureSummary
impl UnsafeUnpin for AudioFeatureSummary
impl UnwindSafe for AudioFeatureSummary
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