Enum musical_note::Scale
source · pub enum Scale {
Major,
Minor,
Dorian,
Phrygian,
Lydian,
Mixolidyan,
Locrian,
}Variants
Major
Minor
Dorian
Phrygian
Lydian
Mixolidyan
Locrian
Implementations
Trait Implementations
sourceimpl PartialOrd<Scale> for Scale
impl PartialOrd<Scale> for Scale
sourcefn partial_cmp(&self, other: &Scale) -> Option<Ordering>
fn partial_cmp(&self, other: &Scale) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Copy for Scale
impl Eq for Scale
impl StructuralEq for Scale
impl StructuralPartialEq for Scale
Auto Trait Implementations
impl RefUnwindSafe for Scale
impl Send for Scale
impl Sync for Scale
impl Unpin for Scale
impl UnwindSafe for Scale
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more