Enum NotationFormat
pub enum NotationFormat {
MusicXml,
Midi,
Abc,
LilyPond,
MuseScore,
GuitarPro,
PlainText,
Custom,
}Variants§
Implementations§
§impl NotationFormat
impl NotationFormat
pub const ALL: &'static [NotationFormat]
pub const fn as_str(self) -> &'static str
Trait Implementations§
§impl Clone for NotationFormat
impl Clone for NotationFormat
§fn clone(&self) -> NotationFormat
fn clone(&self) -> NotationFormat
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 NotationFormat
impl Debug for NotationFormat
§impl Display for NotationFormat
impl Display for NotationFormat
§impl FromStr for NotationFormat
impl FromStr for NotationFormat
§type Err = NotationError
type Err = NotationError
The associated error which can be returned from parsing.
§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 more§impl Hash for NotationFormat
impl Hash for NotationFormat
§impl Ord for NotationFormat
impl Ord for NotationFormat
§impl PartialEq for NotationFormat
impl PartialEq for NotationFormat
§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