Enum ArticulationKind
pub enum ArticulationKind {
Staccato,
Staccatissimo,
Tenuto,
Accent,
Marcato,
Legato,
Fermata,
BreathMark,
Caesura,
Custom,
}Variants§
Implementations§
§impl ArticulationKind
impl ArticulationKind
pub const ALL: &'static [ArticulationKind]
pub const fn as_str(self) -> &'static str
Trait Implementations§
§impl Clone for ArticulationKind
impl Clone for ArticulationKind
§fn clone(&self) -> ArticulationKind
fn clone(&self) -> ArticulationKind
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 ArticulationKind
impl Debug for ArticulationKind
§impl Display for ArticulationKind
impl Display for ArticulationKind
§impl FromStr for ArticulationKind
impl FromStr for ArticulationKind
§type Err = ArticulationError
type Err = ArticulationError
The associated error which can be returned from parsing.
§fn from_str(
value: &str,
) -> Result<ArticulationKind, <ArticulationKind as FromStr>::Err>
fn from_str( value: &str, ) -> Result<ArticulationKind, <ArticulationKind as FromStr>::Err>
Parses a string
s to return a value of this type. Read more§impl Hash for ArticulationKind
impl Hash for ArticulationKind
§impl Ord for ArticulationKind
impl Ord for ArticulationKind
§fn cmp(&self, other: &ArticulationKind) -> Ordering
fn cmp(&self, other: &ArticulationKind) -> 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
§impl PartialEq for ArticulationKind
impl PartialEq for ArticulationKind
§impl PartialOrd for ArticulationKind
impl PartialOrd for ArticulationKind
impl Copy for ArticulationKind
impl Eq for ArticulationKind
impl StructuralPartialEq for ArticulationKind
Auto Trait Implementations§
impl Freeze for ArticulationKind
impl RefUnwindSafe for ArticulationKind
impl Send for ArticulationKind
impl Sync for ArticulationKind
impl Unpin for ArticulationKind
impl UnsafeUnpin for ArticulationKind
impl UnwindSafe for ArticulationKind
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