Enum contained_music::SharpNote
source · #[repr(i64)]
pub enum SharpNote {
A,
C,
D,
F,
G,
}Variants§
Trait Implementations§
source§impl<'de> Deserialize<'de> for SharpNote
impl<'de> Deserialize<'de> for SharpNote
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 From<SharpNote> for Accidentals
impl From<SharpNote> for Accidentals
source§fn from(data: SharpNote) -> Accidentals
fn from(data: SharpNote) -> Accidentals
Converts to this type from the input type.
source§impl IntoEnumIterator for SharpNote
impl IntoEnumIterator for SharpNote
type Iterator = SharpNoteIter
fn iter() -> SharpNoteIter ⓘ
source§impl Ord for SharpNote
impl Ord for SharpNote
source§impl PartialEq<SharpNote> for SharpNote
impl PartialEq<SharpNote> for SharpNote
source§impl PartialOrd<SharpNote> for SharpNote
impl PartialOrd<SharpNote> for SharpNote
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresource§impl VariantNames for SharpNote
impl VariantNames for SharpNote
impl Copy for SharpNote
impl Eq for SharpNote
impl StructuralEq for SharpNote
impl StructuralPartialEq for SharpNote
Auto Trait Implementations§
impl RefUnwindSafe for SharpNote
impl Send for SharpNote
impl Sync for SharpNote
impl Unpin for SharpNote
impl UnwindSafe for SharpNote
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.source§impl<S> Stateful<S> for Swhere
S: StateSpec + Copy,
impl<S> Stateful<S> for Swhere S: StateSpec + Copy,
source§fn state(&self) -> S
fn state(&self) -> S
Stateful::state is used to get the state of the object
source§fn update_state(&mut self, state: S)
fn update_state(&mut self, state: S)
Stateful::update_state is used to update the state of the object