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 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 moreSource§impl Debug for Accidental
impl Debug for Accidental
Source§impl Default for Accidental
impl Default for Accidental
Source§fn default() -> Accidental
fn default() -> Accidental
Returns the “default value” for a type. Read more
Source§impl Hash for Accidental
impl Hash for Accidental
Source§impl PartialEq for Accidental
impl PartialEq 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 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more