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