pub struct Scale { /* private fields */ }Expand description
A scale with a root note.
This combines a root note with a scale kind to produce an actual scale with specific notes.
Implementations§
Trait Implementations§
impl Copy for Scale
Source§impl<'de> Deserialize<'de> for Scale
impl<'de> Deserialize<'de> for Scale
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
impl Eq for Scale
Source§impl HasDescription for Scale
impl HasDescription for Scale
Source§fn description(&self) -> &'static str
fn description(&self) -> &'static str
Returns the description of the type.
Source§impl HasIntervals for Scale
impl HasIntervals for Scale
Source§impl HasPreciseName for Scale
impl HasPreciseName for Scale
Source§fn precise_name(&self) -> String
fn precise_name(&self) -> String
Returns the computed name of the type.
Source§impl HasScaleKind for Scale
impl HasScaleKind for Scale
Source§impl HasStaticName for Scale
impl HasStaticName for Scale
Source§fn static_name(&self) -> &'static str
fn static_name(&self) -> &'static str
Returns the static name of the type.
impl StructuralPartialEq for Scale
Auto Trait Implementations§
impl Freeze for Scale
impl RefUnwindSafe for Scale
impl Send for Scale
impl Sync for Scale
impl Unpin for Scale
impl UnsafeUnpin for Scale
impl UnwindSafe for Scale
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<S, T> Duplex<S> for Twhere
T: FromSample<S> + ToSample<S>,
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.