pub enum Accidental {
Natural,
Sharp,
Flat,
DoubleSharp,
DoubleFlat,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for Accidental
impl Clone for Accidental
Source§fn clone(&self) -> Accidental
fn clone(&self) -> Accidental
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 Display for Accidental
impl Display for Accidental
Source§impl Hash for Accidental
impl Hash for Accidental
Source§impl Ord for Accidental
impl Ord for Accidental
Source§fn cmp(&self, other: &Accidental) -> Ordering
fn cmp(&self, other: &Accidental) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for Accidental
impl PartialEq for Accidental
Source§fn eq(&self, other: &Accidental) -> bool
fn eq(&self, other: &Accidental) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for Accidental
impl PartialOrd for Accidental
impl Copy for Accidental
impl Eq for Accidental
impl StructuralPartialEq for Accidental
Auto Trait Implementations§
impl Freeze for Accidental
impl RefUnwindSafe for Accidental
impl Send for Accidental
impl Sync for Accidental
impl Unpin for Accidental
impl UnsafeUnpin 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