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