mod constants {
pub const GREEK_VOCAL_NOTATION_SYMBOL_DASH_1: char = '𝈀';
pub const GREEK_VOCAL_NOTATION_SYMBOL_DASH_2: char = '𝈁';
pub const GREEK_VOCAL_NOTATION_SYMBOL_DASH_3: char = '𝈂';
pub const GREEK_VOCAL_NOTATION_SYMBOL_DASH_4: char = '𝈃';
pub const GREEK_VOCAL_NOTATION_SYMBOL_DASH_5: char = '𝈄';
pub const GREEK_VOCAL_NOTATION_SYMBOL_DASH_6: char = '𝈅';
pub const GREEK_VOCAL_NOTATION_SYMBOL_DASH_7: char = '𝈆';
pub const GREEK_VOCAL_NOTATION_SYMBOL_DASH_8: char = '𝈇';
pub const GREEK_VOCAL_NOTATION_SYMBOL_DASH_9: char = '𝈈';
pub const GREEK_VOCAL_NOTATION_SYMBOL_DASH_10: char = '𝈉';
pub const GREEK_VOCAL_NOTATION_SYMBOL_DASH_11: char = '𝈊';
pub const GREEK_VOCAL_NOTATION_SYMBOL_DASH_12: char = '𝈋';
pub const GREEK_VOCAL_NOTATION_SYMBOL_DASH_13: char = '𝈌';
pub const GREEK_VOCAL_NOTATION_SYMBOL_DASH_14: char = '𝈍';
pub const GREEK_VOCAL_NOTATION_SYMBOL_DASH_15: char = '𝈎';
pub const GREEK_VOCAL_NOTATION_SYMBOL_DASH_16: char = '𝈏';
pub const GREEK_VOCAL_NOTATION_SYMBOL_DASH_17: char = '𝈐';
pub const GREEK_VOCAL_NOTATION_SYMBOL_DASH_18: char = '𝈑';
pub const GREEK_VOCAL_NOTATION_SYMBOL_DASH_19: char = '𝈒';
pub const GREEK_VOCAL_NOTATION_SYMBOL_DASH_20: char = '𝈓';
pub const GREEK_VOCAL_NOTATION_SYMBOL_DASH_21: char = '𝈔';
pub const GREEK_VOCAL_NOTATION_SYMBOL_DASH_22: char = '𝈕';
pub const GREEK_VOCAL_NOTATION_SYMBOL_DASH_23: char = '𝈖';
pub const GREEK_VOCAL_NOTATION_SYMBOL_DASH_24: char = '𝈗';
pub const GREEK_VOCAL_NOTATION_SYMBOL_DASH_50: char = '𝈘';
pub const GREEK_VOCAL_NOTATION_SYMBOL_DASH_51: char = '𝈙';
pub const GREEK_VOCAL_NOTATION_SYMBOL_DASH_52: char = '𝈚';
pub const GREEK_VOCAL_NOTATION_SYMBOL_DASH_53: char = '𝈛';
pub const GREEK_VOCAL_NOTATION_SYMBOL_DASH_54: char = '𝈜';
pub const GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_1: char = '𝈝';
pub const GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_2: char = '𝈞';
pub const GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_4: char = '𝈟';
pub const GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_5: char = '𝈠';
pub const GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_7: char = '𝈡';
pub const GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_8: char = '𝈢';
pub const GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_11: char = '𝈣';
pub const GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_12: char = '𝈤';
pub const GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_13: char = '𝈥';
pub const GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_14: char = '𝈦';
pub const GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_17: char = '𝈧';
pub const GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_18: char = '𝈨';
pub const GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_19: char = '𝈩';
pub const GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_23: char = '𝈪';
pub const GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_24: char = '𝈫';
pub const GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_25: char = '𝈬';
pub const GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_26: char = '𝈭';
pub const GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_27: char = '𝈮';
pub const GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_29: char = '𝈯';
pub const GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_30: char = '𝈰';
pub const GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_32: char = '𝈱';
pub const GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_36: char = '𝈲';
pub const GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_37: char = '𝈳';
pub const GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_38: char = '𝈴';
pub const GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_39: char = '𝈵';
pub const GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_40: char = '𝈶';
pub const GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_42: char = '𝈷';
pub const GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_43: char = '𝈸';
pub const GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_45: char = '𝈹';
pub const GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_47: char = '𝈺';
pub const GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_48: char = '𝈻';
pub const GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_49: char = '𝈼';
pub const GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_50: char = '𝈽';
pub const GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_51: char = '𝈾';
pub const GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_52: char = '𝈿';
pub const GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_53: char = '𝉀';
pub const GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_54: char = '𝉁';
pub const COMBINING_GREEK_MUSICAL_TRISEME: char = '𝉂';
pub const COMBINING_GREEK_MUSICAL_TETRASEME: char = '𝉃';
pub const COMBINING_GREEK_MUSICAL_PENTASEME: char = '𝉄';
pub const GREEK_MUSICAL_LEIMMA: char = '𝉅';
}
#[derive(Debug, Clone, Copy, Hash, PartialEq, Eq)]
pub enum AncientGreekMusicalNotation {
GreekVocalNotationSymbolDash1,
GreekVocalNotationSymbolDash2,
GreekVocalNotationSymbolDash3,
GreekVocalNotationSymbolDash4,
GreekVocalNotationSymbolDash5,
GreekVocalNotationSymbolDash6,
GreekVocalNotationSymbolDash7,
GreekVocalNotationSymbolDash8,
GreekVocalNotationSymbolDash9,
GreekVocalNotationSymbolDash10,
GreekVocalNotationSymbolDash11,
GreekVocalNotationSymbolDash12,
GreekVocalNotationSymbolDash13,
GreekVocalNotationSymbolDash14,
GreekVocalNotationSymbolDash15,
GreekVocalNotationSymbolDash16,
GreekVocalNotationSymbolDash17,
GreekVocalNotationSymbolDash18,
GreekVocalNotationSymbolDash19,
GreekVocalNotationSymbolDash20,
GreekVocalNotationSymbolDash21,
GreekVocalNotationSymbolDash22,
GreekVocalNotationSymbolDash23,
GreekVocalNotationSymbolDash24,
GreekVocalNotationSymbolDash50,
GreekVocalNotationSymbolDash51,
GreekVocalNotationSymbolDash52,
GreekVocalNotationSymbolDash53,
GreekVocalNotationSymbolDash54,
GreekInstrumentalNotationSymbolDash1,
GreekInstrumentalNotationSymbolDash2,
GreekInstrumentalNotationSymbolDash4,
GreekInstrumentalNotationSymbolDash5,
GreekInstrumentalNotationSymbolDash7,
GreekInstrumentalNotationSymbolDash8,
GreekInstrumentalNotationSymbolDash11,
GreekInstrumentalNotationSymbolDash12,
GreekInstrumentalNotationSymbolDash13,
GreekInstrumentalNotationSymbolDash14,
GreekInstrumentalNotationSymbolDash17,
GreekInstrumentalNotationSymbolDash18,
GreekInstrumentalNotationSymbolDash19,
GreekInstrumentalNotationSymbolDash23,
GreekInstrumentalNotationSymbolDash24,
GreekInstrumentalNotationSymbolDash25,
GreekInstrumentalNotationSymbolDash26,
GreekInstrumentalNotationSymbolDash27,
GreekInstrumentalNotationSymbolDash29,
GreekInstrumentalNotationSymbolDash30,
GreekInstrumentalNotationSymbolDash32,
GreekInstrumentalNotationSymbolDash36,
GreekInstrumentalNotationSymbolDash37,
GreekInstrumentalNotationSymbolDash38,
GreekInstrumentalNotationSymbolDash39,
GreekInstrumentalNotationSymbolDash40,
GreekInstrumentalNotationSymbolDash42,
GreekInstrumentalNotationSymbolDash43,
GreekInstrumentalNotationSymbolDash45,
GreekInstrumentalNotationSymbolDash47,
GreekInstrumentalNotationSymbolDash48,
GreekInstrumentalNotationSymbolDash49,
GreekInstrumentalNotationSymbolDash50,
GreekInstrumentalNotationSymbolDash51,
GreekInstrumentalNotationSymbolDash52,
GreekInstrumentalNotationSymbolDash53,
GreekInstrumentalNotationSymbolDash54,
CombiningGreekMusicalTriseme,
CombiningGreekMusicalTetraseme,
CombiningGreekMusicalPentaseme,
GreekMusicalLeimma,
}
impl Into<char> for AncientGreekMusicalNotation {
fn into(self) -> char {
use constants::*;
match self {
AncientGreekMusicalNotation::GreekVocalNotationSymbolDash1 => GREEK_VOCAL_NOTATION_SYMBOL_DASH_1,
AncientGreekMusicalNotation::GreekVocalNotationSymbolDash2 => GREEK_VOCAL_NOTATION_SYMBOL_DASH_2,
AncientGreekMusicalNotation::GreekVocalNotationSymbolDash3 => GREEK_VOCAL_NOTATION_SYMBOL_DASH_3,
AncientGreekMusicalNotation::GreekVocalNotationSymbolDash4 => GREEK_VOCAL_NOTATION_SYMBOL_DASH_4,
AncientGreekMusicalNotation::GreekVocalNotationSymbolDash5 => GREEK_VOCAL_NOTATION_SYMBOL_DASH_5,
AncientGreekMusicalNotation::GreekVocalNotationSymbolDash6 => GREEK_VOCAL_NOTATION_SYMBOL_DASH_6,
AncientGreekMusicalNotation::GreekVocalNotationSymbolDash7 => GREEK_VOCAL_NOTATION_SYMBOL_DASH_7,
AncientGreekMusicalNotation::GreekVocalNotationSymbolDash8 => GREEK_VOCAL_NOTATION_SYMBOL_DASH_8,
AncientGreekMusicalNotation::GreekVocalNotationSymbolDash9 => GREEK_VOCAL_NOTATION_SYMBOL_DASH_9,
AncientGreekMusicalNotation::GreekVocalNotationSymbolDash10 => GREEK_VOCAL_NOTATION_SYMBOL_DASH_10,
AncientGreekMusicalNotation::GreekVocalNotationSymbolDash11 => GREEK_VOCAL_NOTATION_SYMBOL_DASH_11,
AncientGreekMusicalNotation::GreekVocalNotationSymbolDash12 => GREEK_VOCAL_NOTATION_SYMBOL_DASH_12,
AncientGreekMusicalNotation::GreekVocalNotationSymbolDash13 => GREEK_VOCAL_NOTATION_SYMBOL_DASH_13,
AncientGreekMusicalNotation::GreekVocalNotationSymbolDash14 => GREEK_VOCAL_NOTATION_SYMBOL_DASH_14,
AncientGreekMusicalNotation::GreekVocalNotationSymbolDash15 => GREEK_VOCAL_NOTATION_SYMBOL_DASH_15,
AncientGreekMusicalNotation::GreekVocalNotationSymbolDash16 => GREEK_VOCAL_NOTATION_SYMBOL_DASH_16,
AncientGreekMusicalNotation::GreekVocalNotationSymbolDash17 => GREEK_VOCAL_NOTATION_SYMBOL_DASH_17,
AncientGreekMusicalNotation::GreekVocalNotationSymbolDash18 => GREEK_VOCAL_NOTATION_SYMBOL_DASH_18,
AncientGreekMusicalNotation::GreekVocalNotationSymbolDash19 => GREEK_VOCAL_NOTATION_SYMBOL_DASH_19,
AncientGreekMusicalNotation::GreekVocalNotationSymbolDash20 => GREEK_VOCAL_NOTATION_SYMBOL_DASH_20,
AncientGreekMusicalNotation::GreekVocalNotationSymbolDash21 => GREEK_VOCAL_NOTATION_SYMBOL_DASH_21,
AncientGreekMusicalNotation::GreekVocalNotationSymbolDash22 => GREEK_VOCAL_NOTATION_SYMBOL_DASH_22,
AncientGreekMusicalNotation::GreekVocalNotationSymbolDash23 => GREEK_VOCAL_NOTATION_SYMBOL_DASH_23,
AncientGreekMusicalNotation::GreekVocalNotationSymbolDash24 => GREEK_VOCAL_NOTATION_SYMBOL_DASH_24,
AncientGreekMusicalNotation::GreekVocalNotationSymbolDash50 => GREEK_VOCAL_NOTATION_SYMBOL_DASH_50,
AncientGreekMusicalNotation::GreekVocalNotationSymbolDash51 => GREEK_VOCAL_NOTATION_SYMBOL_DASH_51,
AncientGreekMusicalNotation::GreekVocalNotationSymbolDash52 => GREEK_VOCAL_NOTATION_SYMBOL_DASH_52,
AncientGreekMusicalNotation::GreekVocalNotationSymbolDash53 => GREEK_VOCAL_NOTATION_SYMBOL_DASH_53,
AncientGreekMusicalNotation::GreekVocalNotationSymbolDash54 => GREEK_VOCAL_NOTATION_SYMBOL_DASH_54,
AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash1 => GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_1,
AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash2 => GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_2,
AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash4 => GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_4,
AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash5 => GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_5,
AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash7 => GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_7,
AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash8 => GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_8,
AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash11 => GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_11,
AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash12 => GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_12,
AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash13 => GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_13,
AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash14 => GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_14,
AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash17 => GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_17,
AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash18 => GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_18,
AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash19 => GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_19,
AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash23 => GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_23,
AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash24 => GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_24,
AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash25 => GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_25,
AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash26 => GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_26,
AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash27 => GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_27,
AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash29 => GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_29,
AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash30 => GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_30,
AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash32 => GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_32,
AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash36 => GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_36,
AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash37 => GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_37,
AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash38 => GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_38,
AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash39 => GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_39,
AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash40 => GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_40,
AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash42 => GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_42,
AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash43 => GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_43,
AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash45 => GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_45,
AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash47 => GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_47,
AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash48 => GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_48,
AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash49 => GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_49,
AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash50 => GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_50,
AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash51 => GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_51,
AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash52 => GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_52,
AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash53 => GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_53,
AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash54 => GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_54,
AncientGreekMusicalNotation::CombiningGreekMusicalTriseme => COMBINING_GREEK_MUSICAL_TRISEME,
AncientGreekMusicalNotation::CombiningGreekMusicalTetraseme => COMBINING_GREEK_MUSICAL_TETRASEME,
AncientGreekMusicalNotation::CombiningGreekMusicalPentaseme => COMBINING_GREEK_MUSICAL_PENTASEME,
AncientGreekMusicalNotation::GreekMusicalLeimma => GREEK_MUSICAL_LEIMMA,
}
}
}
impl std::convert::TryFrom<char> for AncientGreekMusicalNotation {
type Error = ();
fn try_from(c: char) -> Result<Self, Self::Error> {
use constants::*;
match c {
GREEK_VOCAL_NOTATION_SYMBOL_DASH_1 => Ok(AncientGreekMusicalNotation::GreekVocalNotationSymbolDash1),
GREEK_VOCAL_NOTATION_SYMBOL_DASH_2 => Ok(AncientGreekMusicalNotation::GreekVocalNotationSymbolDash2),
GREEK_VOCAL_NOTATION_SYMBOL_DASH_3 => Ok(AncientGreekMusicalNotation::GreekVocalNotationSymbolDash3),
GREEK_VOCAL_NOTATION_SYMBOL_DASH_4 => Ok(AncientGreekMusicalNotation::GreekVocalNotationSymbolDash4),
GREEK_VOCAL_NOTATION_SYMBOL_DASH_5 => Ok(AncientGreekMusicalNotation::GreekVocalNotationSymbolDash5),
GREEK_VOCAL_NOTATION_SYMBOL_DASH_6 => Ok(AncientGreekMusicalNotation::GreekVocalNotationSymbolDash6),
GREEK_VOCAL_NOTATION_SYMBOL_DASH_7 => Ok(AncientGreekMusicalNotation::GreekVocalNotationSymbolDash7),
GREEK_VOCAL_NOTATION_SYMBOL_DASH_8 => Ok(AncientGreekMusicalNotation::GreekVocalNotationSymbolDash8),
GREEK_VOCAL_NOTATION_SYMBOL_DASH_9 => Ok(AncientGreekMusicalNotation::GreekVocalNotationSymbolDash9),
GREEK_VOCAL_NOTATION_SYMBOL_DASH_10 => Ok(AncientGreekMusicalNotation::GreekVocalNotationSymbolDash10),
GREEK_VOCAL_NOTATION_SYMBOL_DASH_11 => Ok(AncientGreekMusicalNotation::GreekVocalNotationSymbolDash11),
GREEK_VOCAL_NOTATION_SYMBOL_DASH_12 => Ok(AncientGreekMusicalNotation::GreekVocalNotationSymbolDash12),
GREEK_VOCAL_NOTATION_SYMBOL_DASH_13 => Ok(AncientGreekMusicalNotation::GreekVocalNotationSymbolDash13),
GREEK_VOCAL_NOTATION_SYMBOL_DASH_14 => Ok(AncientGreekMusicalNotation::GreekVocalNotationSymbolDash14),
GREEK_VOCAL_NOTATION_SYMBOL_DASH_15 => Ok(AncientGreekMusicalNotation::GreekVocalNotationSymbolDash15),
GREEK_VOCAL_NOTATION_SYMBOL_DASH_16 => Ok(AncientGreekMusicalNotation::GreekVocalNotationSymbolDash16),
GREEK_VOCAL_NOTATION_SYMBOL_DASH_17 => Ok(AncientGreekMusicalNotation::GreekVocalNotationSymbolDash17),
GREEK_VOCAL_NOTATION_SYMBOL_DASH_18 => Ok(AncientGreekMusicalNotation::GreekVocalNotationSymbolDash18),
GREEK_VOCAL_NOTATION_SYMBOL_DASH_19 => Ok(AncientGreekMusicalNotation::GreekVocalNotationSymbolDash19),
GREEK_VOCAL_NOTATION_SYMBOL_DASH_20 => Ok(AncientGreekMusicalNotation::GreekVocalNotationSymbolDash20),
GREEK_VOCAL_NOTATION_SYMBOL_DASH_21 => Ok(AncientGreekMusicalNotation::GreekVocalNotationSymbolDash21),
GREEK_VOCAL_NOTATION_SYMBOL_DASH_22 => Ok(AncientGreekMusicalNotation::GreekVocalNotationSymbolDash22),
GREEK_VOCAL_NOTATION_SYMBOL_DASH_23 => Ok(AncientGreekMusicalNotation::GreekVocalNotationSymbolDash23),
GREEK_VOCAL_NOTATION_SYMBOL_DASH_24 => Ok(AncientGreekMusicalNotation::GreekVocalNotationSymbolDash24),
GREEK_VOCAL_NOTATION_SYMBOL_DASH_50 => Ok(AncientGreekMusicalNotation::GreekVocalNotationSymbolDash50),
GREEK_VOCAL_NOTATION_SYMBOL_DASH_51 => Ok(AncientGreekMusicalNotation::GreekVocalNotationSymbolDash51),
GREEK_VOCAL_NOTATION_SYMBOL_DASH_52 => Ok(AncientGreekMusicalNotation::GreekVocalNotationSymbolDash52),
GREEK_VOCAL_NOTATION_SYMBOL_DASH_53 => Ok(AncientGreekMusicalNotation::GreekVocalNotationSymbolDash53),
GREEK_VOCAL_NOTATION_SYMBOL_DASH_54 => Ok(AncientGreekMusicalNotation::GreekVocalNotationSymbolDash54),
GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_1 => Ok(AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash1),
GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_2 => Ok(AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash2),
GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_4 => Ok(AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash4),
GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_5 => Ok(AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash5),
GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_7 => Ok(AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash7),
GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_8 => Ok(AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash8),
GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_11 => Ok(AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash11),
GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_12 => Ok(AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash12),
GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_13 => Ok(AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash13),
GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_14 => Ok(AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash14),
GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_17 => Ok(AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash17),
GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_18 => Ok(AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash18),
GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_19 => Ok(AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash19),
GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_23 => Ok(AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash23),
GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_24 => Ok(AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash24),
GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_25 => Ok(AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash25),
GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_26 => Ok(AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash26),
GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_27 => Ok(AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash27),
GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_29 => Ok(AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash29),
GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_30 => Ok(AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash30),
GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_32 => Ok(AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash32),
GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_36 => Ok(AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash36),
GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_37 => Ok(AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash37),
GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_38 => Ok(AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash38),
GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_39 => Ok(AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash39),
GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_40 => Ok(AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash40),
GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_42 => Ok(AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash42),
GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_43 => Ok(AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash43),
GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_45 => Ok(AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash45),
GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_47 => Ok(AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash47),
GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_48 => Ok(AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash48),
GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_49 => Ok(AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash49),
GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_50 => Ok(AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash50),
GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_51 => Ok(AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash51),
GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_52 => Ok(AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash52),
GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_53 => Ok(AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash53),
GREEK_INSTRUMENTAL_NOTATION_SYMBOL_DASH_54 => Ok(AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash54),
COMBINING_GREEK_MUSICAL_TRISEME => Ok(AncientGreekMusicalNotation::CombiningGreekMusicalTriseme),
COMBINING_GREEK_MUSICAL_TETRASEME => Ok(AncientGreekMusicalNotation::CombiningGreekMusicalTetraseme),
COMBINING_GREEK_MUSICAL_PENTASEME => Ok(AncientGreekMusicalNotation::CombiningGreekMusicalPentaseme),
GREEK_MUSICAL_LEIMMA => Ok(AncientGreekMusicalNotation::GreekMusicalLeimma),
_ => Err(()),
}
}
}
impl Into<u32> for AncientGreekMusicalNotation {
fn into(self) -> u32 {
let c: char = self.into();
let hex = c
.escape_unicode()
.to_string()
.replace("\\u{", "")
.replace("}", "");
u32::from_str_radix(&hex, 16).unwrap()
}
}
impl std::convert::TryFrom<u32> for AncientGreekMusicalNotation {
type Error = ();
fn try_from(u: u32) -> Result<Self, Self::Error> {
if let Ok(c) = char::try_from(u) {
Self::try_from(c)
} else {
Err(())
}
}
}
impl Iterator for AncientGreekMusicalNotation {
type Item = Self;
fn next(&mut self) -> Option<Self> {
let index: u32 = (*self).into();
use std::convert::TryFrom;
Self::try_from(index + 1).ok()
}
}
impl AncientGreekMusicalNotation {
pub fn new() -> Self {
AncientGreekMusicalNotation::GreekVocalNotationSymbolDash1
}
pub fn name(&self) -> &str {
match self {
AncientGreekMusicalNotation::GreekVocalNotationSymbolDash1 => "greek vocal notation symbol-1",
AncientGreekMusicalNotation::GreekVocalNotationSymbolDash2 => "greek vocal notation symbol-2",
AncientGreekMusicalNotation::GreekVocalNotationSymbolDash3 => "greek vocal notation symbol-3",
AncientGreekMusicalNotation::GreekVocalNotationSymbolDash4 => "greek vocal notation symbol-4",
AncientGreekMusicalNotation::GreekVocalNotationSymbolDash5 => "greek vocal notation symbol-5",
AncientGreekMusicalNotation::GreekVocalNotationSymbolDash6 => "greek vocal notation symbol-6",
AncientGreekMusicalNotation::GreekVocalNotationSymbolDash7 => "greek vocal notation symbol-7",
AncientGreekMusicalNotation::GreekVocalNotationSymbolDash8 => "greek vocal notation symbol-8",
AncientGreekMusicalNotation::GreekVocalNotationSymbolDash9 => "greek vocal notation symbol-9",
AncientGreekMusicalNotation::GreekVocalNotationSymbolDash10 => "greek vocal notation symbol-10",
AncientGreekMusicalNotation::GreekVocalNotationSymbolDash11 => "greek vocal notation symbol-11",
AncientGreekMusicalNotation::GreekVocalNotationSymbolDash12 => "greek vocal notation symbol-12",
AncientGreekMusicalNotation::GreekVocalNotationSymbolDash13 => "greek vocal notation symbol-13",
AncientGreekMusicalNotation::GreekVocalNotationSymbolDash14 => "greek vocal notation symbol-14",
AncientGreekMusicalNotation::GreekVocalNotationSymbolDash15 => "greek vocal notation symbol-15",
AncientGreekMusicalNotation::GreekVocalNotationSymbolDash16 => "greek vocal notation symbol-16",
AncientGreekMusicalNotation::GreekVocalNotationSymbolDash17 => "greek vocal notation symbol-17",
AncientGreekMusicalNotation::GreekVocalNotationSymbolDash18 => "greek vocal notation symbol-18",
AncientGreekMusicalNotation::GreekVocalNotationSymbolDash19 => "greek vocal notation symbol-19",
AncientGreekMusicalNotation::GreekVocalNotationSymbolDash20 => "greek vocal notation symbol-20",
AncientGreekMusicalNotation::GreekVocalNotationSymbolDash21 => "greek vocal notation symbol-21",
AncientGreekMusicalNotation::GreekVocalNotationSymbolDash22 => "greek vocal notation symbol-22",
AncientGreekMusicalNotation::GreekVocalNotationSymbolDash23 => "greek vocal notation symbol-23",
AncientGreekMusicalNotation::GreekVocalNotationSymbolDash24 => "greek vocal notation symbol-24",
AncientGreekMusicalNotation::GreekVocalNotationSymbolDash50 => "greek vocal notation symbol-50",
AncientGreekMusicalNotation::GreekVocalNotationSymbolDash51 => "greek vocal notation symbol-51",
AncientGreekMusicalNotation::GreekVocalNotationSymbolDash52 => "greek vocal notation symbol-52",
AncientGreekMusicalNotation::GreekVocalNotationSymbolDash53 => "greek vocal notation symbol-53",
AncientGreekMusicalNotation::GreekVocalNotationSymbolDash54 => "greek vocal notation symbol-54",
AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash1 => "greek instrumental notation symbol-1",
AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash2 => "greek instrumental notation symbol-2",
AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash4 => "greek instrumental notation symbol-4",
AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash5 => "greek instrumental notation symbol-5",
AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash7 => "greek instrumental notation symbol-7",
AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash8 => "greek instrumental notation symbol-8",
AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash11 => "greek instrumental notation symbol-11",
AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash12 => "greek instrumental notation symbol-12",
AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash13 => "greek instrumental notation symbol-13",
AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash14 => "greek instrumental notation symbol-14",
AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash17 => "greek instrumental notation symbol-17",
AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash18 => "greek instrumental notation symbol-18",
AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash19 => "greek instrumental notation symbol-19",
AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash23 => "greek instrumental notation symbol-23",
AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash24 => "greek instrumental notation symbol-24",
AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash25 => "greek instrumental notation symbol-25",
AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash26 => "greek instrumental notation symbol-26",
AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash27 => "greek instrumental notation symbol-27",
AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash29 => "greek instrumental notation symbol-29",
AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash30 => "greek instrumental notation symbol-30",
AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash32 => "greek instrumental notation symbol-32",
AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash36 => "greek instrumental notation symbol-36",
AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash37 => "greek instrumental notation symbol-37",
AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash38 => "greek instrumental notation symbol-38",
AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash39 => "greek instrumental notation symbol-39",
AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash40 => "greek instrumental notation symbol-40",
AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash42 => "greek instrumental notation symbol-42",
AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash43 => "greek instrumental notation symbol-43",
AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash45 => "greek instrumental notation symbol-45",
AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash47 => "greek instrumental notation symbol-47",
AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash48 => "greek instrumental notation symbol-48",
AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash49 => "greek instrumental notation symbol-49",
AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash50 => "greek instrumental notation symbol-50",
AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash51 => "greek instrumental notation symbol-51",
AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash52 => "greek instrumental notation symbol-52",
AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash53 => "greek instrumental notation symbol-53",
AncientGreekMusicalNotation::GreekInstrumentalNotationSymbolDash54 => "greek instrumental notation symbol-54",
AncientGreekMusicalNotation::CombiningGreekMusicalTriseme => "combining greek musical triseme",
AncientGreekMusicalNotation::CombiningGreekMusicalTetraseme => "combining greek musical tetraseme",
AncientGreekMusicalNotation::CombiningGreekMusicalPentaseme => "combining greek musical pentaseme",
AncientGreekMusicalNotation::GreekMusicalLeimma => "greek musical leimma",
}
}
}