pub enum Accidental {
Natural,
Sharp,
Flat,
DoubleSharp,
DoubleFlat,
}Variants§
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 moreimpl Copy for Accidental
Source§impl Debug for Accidental
impl Debug for Accidental
impl Eq for Accidental
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 ==.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