pub enum AccidentalState {
Single,
Double,
}
Variants§
Single
A Single
accidental state represents typical sharp/flat note
Double
A Double
accidental state represents a double sharp/flat note
Implementations§
Trait Implementations§
Source§impl AsRef<str> for AccidentalState
impl AsRef<str> for AccidentalState
Source§impl Clone for AccidentalState
impl Clone for AccidentalState
Source§fn clone(&self) -> AccidentalState
fn clone(&self) -> AccidentalState
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 AccidentalState
impl Debug for AccidentalState
Source§impl Default for AccidentalState
impl Default for AccidentalState
Source§fn default() -> AccidentalState
fn default() -> AccidentalState
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AccidentalState
impl<'de> Deserialize<'de> for AccidentalState
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for AccidentalState
impl Display for AccidentalState
Source§impl FromStr for AccidentalState
impl FromStr for AccidentalState
Source§impl Hash for AccidentalState
impl Hash for AccidentalState
Source§impl IntoEnumIterator for AccidentalState
impl IntoEnumIterator for AccidentalState
type Iterator = AccidentalStateIter
fn iter() -> AccidentalStateIter ⓘ
Source§impl Ord for AccidentalState
impl Ord for AccidentalState
Source§fn cmp(&self, other: &AccidentalState) -> Ordering
fn cmp(&self, other: &AccidentalState) -> Ordering
1.21.0 · 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 AccidentalState
impl PartialEq for AccidentalState
Source§impl PartialOrd for AccidentalState
impl PartialOrd for AccidentalState
Source§impl Serialize for AccidentalState
impl Serialize for AccidentalState
Source§impl TryFrom<&str> for AccidentalState
impl TryFrom<&str> for AccidentalState
Source§impl VariantArray for AccidentalState
impl VariantArray for AccidentalState
Source§impl VariantNames for AccidentalState
impl VariantNames for AccidentalState
impl Copy for AccidentalState
impl Eq for AccidentalState
impl StructuralPartialEq for AccidentalState
Auto Trait Implementations§
impl Freeze for AccidentalState
impl RefUnwindSafe for AccidentalState
impl Send for AccidentalState
impl Sync for AccidentalState
impl Unpin for AccidentalState
impl UnwindSafe for AccidentalState
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