Enum Accidental
pub enum Accidental {
Natural,
Sharp,
Flat,
DoubleSharp,
DoubleFlat,
}Variants§
Implementations§
§impl Accidental
impl Accidental
pub const ALL: &'static [Accidental]
pub const fn as_str(self) -> &'static str
Trait Implementations§
§impl Clone for Accidental
impl Clone for Accidental
§fn clone(&self) -> Accidental
fn clone(&self) -> Accidental
Returns a duplicate 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 more§impl Debug for Accidental
impl Debug for Accidental
§impl Display for Accidental
impl Display for Accidental
§impl Hash for Accidental
impl Hash for Accidental
§impl Ord for Accidental
impl Ord for Accidental
§impl PartialEq for Accidental
impl PartialEq for Accidental
§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