Struct bliss_rs::Song [−][src]
pub struct Song { pub path: String, pub artist: String, pub title: String, pub album: String, pub track_number: String, pub genre: String, pub analysis: Vec<f32>, }
Expand description
Simple object used to represent a Song, with its path, analysis, and other metadata (artist, genre…)
Fields
path: String
artist: String
title: String
album: String
track_number: String
genre: String
analysis: Vec<f32>
Expand description
Vec containing analysis, in order: tempo, zero-crossing rate, mean spectral centroid, std deviation spectral centroid, mean spectral rolloff, std deviation spectral rolloff mean spectral_flatness, std deviation spectral flatness, mean loudness, std deviation loudness chroma interval feature 1 to 10
Implementations
Trait Implementations
impl StructuralPartialEq for Song
[src]
Auto Trait Implementations
impl RefUnwindSafe for Song
impl Send for Song
impl Sync for Song
impl Unpin for Song
impl UnwindSafe for Song
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,