pub enum FeatureKind {
Show 14 variants
Acousticness,
Danceability,
DurationMs,
Energy,
Instrumentalness,
Key,
Liveness,
Loudness,
Mode,
Popularity,
Speechiness,
Tempo,
TimeSignature,
Valence,
}Expand description
Represents what feature exactly is set.
Variants§
Acousticness
Danceability
DurationMs
Energy
Instrumentalness
Key
Liveness
Loudness
Mode
Popularity
Speechiness
Tempo
TimeSignature
Valence
Trait Implementations§
Source§impl Clone for FeatureKind
impl Clone for FeatureKind
Source§fn clone(&self) -> FeatureKind
fn clone(&self) -> FeatureKind
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 FeatureKind
impl Debug for FeatureKind
Source§impl<'_derivative_strum> From<&'_derivative_strum FeatureKind> for &'static str
impl<'_derivative_strum> From<&'_derivative_strum FeatureKind> for &'static str
Source§fn from(x: &'_derivative_strum FeatureKind) -> &'static str
fn from(x: &'_derivative_strum FeatureKind) -> &'static str
Converts to this type from the input type.
Source§impl From<FeatureKind> for &'static str
impl From<FeatureKind> for &'static str
Source§fn from(x: FeatureKind) -> &'static str
fn from(x: FeatureKind) -> &'static str
Converts to this type from the input type.
Source§impl Hash for FeatureKind
impl Hash for FeatureKind
Source§impl PartialEq for FeatureKind
impl PartialEq for FeatureKind
Source§fn eq(&self, other: &FeatureKind) -> bool
fn eq(&self, other: &FeatureKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for FeatureKind
impl Eq for FeatureKind
impl StructuralPartialEq for FeatureKind
Auto Trait Implementations§
impl Freeze for FeatureKind
impl RefUnwindSafe for FeatureKind
impl Send for FeatureKind
impl Sync for FeatureKind
impl Unpin for FeatureKind
impl UnsafeUnpin for FeatureKind
impl UnwindSafe for FeatureKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.