pub enum NotationFormat {
MusicXml,
Midi,
Abc,
LilyPond,
MuseScore,
GuitarPro,
PlainText,
Custom,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for NotationFormat
impl Clone for NotationFormat
Source§fn clone(&self) -> NotationFormat
fn clone(&self) -> NotationFormat
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 moreSource§impl Debug for NotationFormat
impl Debug for NotationFormat
Source§impl Display for NotationFormat
impl Display for NotationFormat
Source§impl FromStr for NotationFormat
impl FromStr for NotationFormat
Source§type Err = NotationError
type Err = NotationError
The associated error which can be returned from parsing.
Source§fn from_str(
value: &str,
) -> Result<NotationFormat, <NotationFormat as FromStr>::Err>
fn from_str( value: &str, ) -> Result<NotationFormat, <NotationFormat as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl Hash for NotationFormat
impl Hash for NotationFormat
Source§impl Ord for NotationFormat
impl Ord for NotationFormat
Source§fn cmp(&self, other: &NotationFormat) -> Ordering
fn cmp(&self, other: &NotationFormat) -> Ordering
1.21.0 (const: unstable) · 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
Source§impl PartialEq for NotationFormat
impl PartialEq for NotationFormat
Source§fn eq(&self, other: &NotationFormat) -> bool
fn eq(&self, other: &NotationFormat) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for NotationFormat
impl PartialOrd for NotationFormat
impl Copy for NotationFormat
impl Eq for NotationFormat
impl StructuralPartialEq for NotationFormat
Auto Trait Implementations§
impl Freeze for NotationFormat
impl RefUnwindSafe for NotationFormat
impl Send for NotationFormat
impl Sync for NotationFormat
impl Unpin for NotationFormat
impl UnsafeUnpin for NotationFormat
impl UnwindSafe for NotationFormat
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