Enum rust_music::Accidental
source · pub enum Accidental {
Flat,
Natural,
Sharp,
}Expand description
Represents a note accidental
Variants§
Trait Implementations§
source§impl Clone for Accidental
impl Clone for Accidental
source§fn clone(&self) -> Accidental
fn clone(&self) -> Accidental
Returns a copy of the value. Read more
1.0.0 · 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 Accidental
impl Debug for Accidental
source§impl PartialEq for Accidental
impl PartialEq for Accidental
source§fn eq(&self, other: &Accidental) -> bool
fn eq(&self, other: &Accidental) -> bool
This method tests for
self and other values to be equal, and is used
by ==.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§
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