Enum NotationSymbolKind
pub enum NotationSymbolKind {
Note,
Rest,
Clef,
KeySignature,
TimeSignature,
Dynamic,
Articulation,
Repeat,
Text,
Custom,
}Variants§
Implementations§
§impl NotationSymbolKind
impl NotationSymbolKind
pub const ALL: &'static [NotationSymbolKind]
pub const fn as_str(self) -> &'static str
Trait Implementations§
§impl Clone for NotationSymbolKind
impl Clone for NotationSymbolKind
§fn clone(&self) -> NotationSymbolKind
fn clone(&self) -> NotationSymbolKind
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 NotationSymbolKind
impl Debug for NotationSymbolKind
§impl Display for NotationSymbolKind
impl Display for NotationSymbolKind
§impl FromStr for NotationSymbolKind
impl FromStr for NotationSymbolKind
§type Err = NotationError
type Err = NotationError
The associated error which can be returned from parsing.
§fn from_str(
value: &str,
) -> Result<NotationSymbolKind, <NotationSymbolKind as FromStr>::Err>
fn from_str( value: &str, ) -> Result<NotationSymbolKind, <NotationSymbolKind as FromStr>::Err>
Parses a string
s to return a value of this type. Read more§impl Hash for NotationSymbolKind
impl Hash for NotationSymbolKind
§impl Ord for NotationSymbolKind
impl Ord for NotationSymbolKind
§fn cmp(&self, other: &NotationSymbolKind) -> Ordering
fn cmp(&self, other: &NotationSymbolKind) -> 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 NotationSymbolKind
impl PartialEq for NotationSymbolKind
§impl PartialOrd for NotationSymbolKind
impl PartialOrd for NotationSymbolKind
impl Copy for NotationSymbolKind
impl Eq for NotationSymbolKind
impl StructuralPartialEq for NotationSymbolKind
Auto Trait Implementations§
impl Freeze for NotationSymbolKind
impl RefUnwindSafe for NotationSymbolKind
impl Send for NotationSymbolKind
impl Sync for NotationSymbolKind
impl Unpin for NotationSymbolKind
impl UnsafeUnpin for NotationSymbolKind
impl UnwindSafe for NotationSymbolKind
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