Enum musical_note::Accidental
source · pub enum Accidental {
White,
Sharp,
DoubleSharp,
Flat,
DoubleFlat,
}Variants
White
Sharp
DoubleSharp
Flat
DoubleFlat
Implementations
sourceimpl Accidental
impl Accidental
Trait Implementations
sourceimpl Clone for Accidental
impl Clone for Accidental
sourcefn clone(&self) -> Accidental
fn clone(&self) -> Accidental
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for Accidental
impl Debug for Accidental
sourceimpl Default for Accidental
impl Default for Accidental
sourceimpl Hash for Accidental
impl Hash for Accidental
sourceimpl PartialEq<Accidental> for Accidental
impl PartialEq<Accidental> for Accidental
sourcefn eq(&self, other: &Accidental) -> bool
fn eq(&self, other: &Accidental) -> bool
sourceimpl PartialOrd<Accidental> for Accidental
impl PartialOrd<Accidental> for Accidental
sourcefn partial_cmp(&self, other: &Accidental) -> Option<Ordering>
fn partial_cmp(&self, other: &Accidental) -> 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 moresourceimpl ToString for Accidental
impl ToString for Accidental
impl Copy for Accidental
impl Eq for Accidental
impl StructuralEq for Accidental
impl StructuralPartialEq for Accidental
Auto Trait Implementations
impl RefUnwindSafe for Accidental
impl Send for Accidental
impl Sync for Accidental
impl Unpin for Accidental
impl UnwindSafe for Accidental
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