pub enum MetadataKey {
Title,
Composer,
Copyright,
Tempo,
TimeSignature,
KeySignature,
Clef,
Instrument,
Channel,
Offset,
}Expand description
Keys for musical metadata that can change during a piece.
Variants§
Trait Implementations§
Source§impl Clone for MetadataKey
impl Clone for MetadataKey
Source§fn clone(&self) -> MetadataKey
fn clone(&self) -> MetadataKey
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 MetadataKey
impl Debug for MetadataKey
Source§impl Display for MetadataKey
impl Display for MetadataKey
Source§impl PartialEq for MetadataKey
impl PartialEq for MetadataKey
Source§fn eq(&self, other: &MetadataKey) -> bool
fn eq(&self, other: &MetadataKey) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MetadataKey
Source§impl TryFrom<Value> for MetadataKey
impl TryFrom<Value> for MetadataKey
Source§type Error = ErrorSource
type Error = ErrorSource
The type returned in the event of a conversion error.
Source§fn try_from(value: Value) -> CoreResult<Self>
fn try_from(value: Value) -> CoreResult<Self>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for MetadataKey
impl RefUnwindSafe for MetadataKey
impl Send for MetadataKey
impl Sync for MetadataKey
impl Unpin for MetadataKey
impl UnsafeUnpin for MetadataKey
impl UnwindSafe for MetadataKey
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