pub enum NoteDivision {
Whole,
Half,
Quarter,
Eighth,
Sixteenth,
}Expand description
Note division for BeatButton (musical note values)
Variants§
Whole
Whole note (1 bar)
Half
Half note
Quarter
Quarter note
Eighth
Eighth note
Sixteenth
Sixteenth note
Trait Implementations§
Source§impl Clone for NoteDivision
impl Clone for NoteDivision
Source§fn clone(&self) -> NoteDivision
fn clone(&self) -> NoteDivision
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 NoteDivision
impl Debug for NoteDivision
Source§impl Default for NoteDivision
impl Default for NoteDivision
Source§fn default() -> NoteDivision
fn default() -> NoteDivision
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NoteDivision
impl<'de> Deserialize<'de> for NoteDivision
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 PartialEq for NoteDivision
impl PartialEq for NoteDivision
Source§impl Serialize for NoteDivision
impl Serialize for NoteDivision
impl Copy for NoteDivision
impl Eq for NoteDivision
impl StructuralPartialEq for NoteDivision
Auto Trait Implementations§
impl Freeze for NoteDivision
impl RefUnwindSafe for NoteDivision
impl Send for NoteDivision
impl Sync for NoteDivision
impl Unpin for NoteDivision
impl UnwindSafe for NoteDivision
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