Enum SyncopationKind
pub enum SyncopationKind {
None,
WeakBeatAccent,
OffBeat,
Anticipation,
Suspension,
Unknown,
}Variants§
Implementations§
§impl SyncopationKind
impl SyncopationKind
pub const ALL: &'static [SyncopationKind]
pub const fn as_str(self) -> &'static str
Trait Implementations§
§impl Clone for SyncopationKind
impl Clone for SyncopationKind
§fn clone(&self) -> SyncopationKind
fn clone(&self) -> SyncopationKind
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 more§impl Debug for SyncopationKind
impl Debug for SyncopationKind
§impl Display for SyncopationKind
impl Display for SyncopationKind
§impl FromStr for SyncopationKind
impl FromStr for SyncopationKind
§type Err = RhythmError
type Err = RhythmError
The associated error which can be returned from parsing.
§fn from_str(
value: &str,
) -> Result<SyncopationKind, <SyncopationKind as FromStr>::Err>
fn from_str( value: &str, ) -> Result<SyncopationKind, <SyncopationKind as FromStr>::Err>
Parses a string
s to return a value of this type. Read more§impl Hash for SyncopationKind
impl Hash for SyncopationKind
§impl Ord for SyncopationKind
impl Ord for SyncopationKind
§impl PartialEq for SyncopationKind
impl PartialEq for SyncopationKind
§impl PartialOrd for SyncopationKind
impl PartialOrd for SyncopationKind
impl Copy for SyncopationKind
impl Eq for SyncopationKind
impl StructuralPartialEq for SyncopationKind
Auto Trait Implementations§
impl Freeze for SyncopationKind
impl RefUnwindSafe for SyncopationKind
impl Send for SyncopationKind
impl Sync for SyncopationKind
impl Unpin for SyncopationKind
impl UnsafeUnpin for SyncopationKind
impl UnwindSafe for SyncopationKind
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