pub enum MusicalDivision {
Bar,
Half,
Beat,
Eighth,
Sixteenth,
ThirtySecond,
SixtyFourth,
}Expand description
Musical note division used for tempo-synced modulator rates.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for MusicalDivision
impl Clone for MusicalDivision
Source§fn clone(&self) -> MusicalDivision
fn clone(&self) -> MusicalDivision
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MusicalDivision
Source§impl Debug for MusicalDivision
impl Debug for MusicalDivision
Source§impl<'de> Deserialize<'de> for MusicalDivision
impl<'de> Deserialize<'de> for MusicalDivision
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 MusicalDivision
impl Display for MusicalDivision
impl Eq for MusicalDivision
Source§impl Hash for MusicalDivision
impl Hash for MusicalDivision
Source§impl PartialEq for MusicalDivision
impl PartialEq for MusicalDivision
Source§impl Serialize for MusicalDivision
impl Serialize for MusicalDivision
impl StructuralPartialEq for MusicalDivision
Auto Trait Implementations§
impl Freeze for MusicalDivision
impl RefUnwindSafe for MusicalDivision
impl Send for MusicalDivision
impl Sync for MusicalDivision
impl Unpin for MusicalDivision
impl UnsafeUnpin for MusicalDivision
impl UnwindSafe for MusicalDivision
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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