pub enum NoteValueBase {
Show 17 variants
DuplexMaxima,
Maxima,
Longa,
Breve,
Whole,
Half,
Quarter,
Eighth,
_16th,
_32nd,
_64th,
_128th,
_256th,
_512th,
_1024th,
_2048th,
_4096th,
}Expand description
NoteValueBase
JSON schema
{
"type": "string",
"enum": [
"duplexMaxima",
"maxima",
"longa",
"breve",
"whole",
"half",
"quarter",
"eighth",
"16th",
"32nd",
"64th",
"128th",
"256th",
"512th",
"1024th",
"2048th",
"4096th"
]
}Variants§
DuplexMaxima
Maxima
Longa
Breve
Whole
Half
Quarter
Eighth
_16th
_32nd
_64th
_128th
_256th
_512th
_1024th
_2048th
_4096th
Trait Implementations§
Source§impl Clone for NoteValueBase
impl Clone for NoteValueBase
Source§fn clone(&self) -> NoteValueBase
fn clone(&self) -> NoteValueBase
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 moreSource§impl Debug for NoteValueBase
impl Debug for NoteValueBase
Source§impl<'de> Deserialize<'de> for NoteValueBase
impl<'de> Deserialize<'de> for NoteValueBase
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for NoteValueBase
impl Display for NoteValueBase
Source§impl From<&NoteValueBase> for NoteValueBase
impl From<&NoteValueBase> for NoteValueBase
Source§fn from(value: &NoteValueBase) -> Self
fn from(value: &NoteValueBase) -> Self
Converts to this type from the input type.
Source§impl FromStr for NoteValueBase
impl FromStr for NoteValueBase
Source§impl Hash for NoteValueBase
impl Hash for NoteValueBase
Source§impl Ord for NoteValueBase
impl Ord for NoteValueBase
Source§fn cmp(&self, other: &NoteValueBase) -> Ordering
fn cmp(&self, other: &NoteValueBase) -> 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
Source§impl PartialEq for NoteValueBase
impl PartialEq for NoteValueBase
Source§impl PartialOrd for NoteValueBase
impl PartialOrd for NoteValueBase
Source§impl Serialize for NoteValueBase
impl Serialize for NoteValueBase
Source§impl TryFrom<&String> for NoteValueBase
impl TryFrom<&String> for NoteValueBase
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for NoteValueBase
impl TryFrom<&str> for NoteValueBase
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for NoteValueBase
impl TryFrom<String> for NoteValueBase
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
impl Copy for NoteValueBase
impl Eq for NoteValueBase
impl StructuralPartialEq for NoteValueBase
Auto Trait Implementations§
impl Freeze for NoteValueBase
impl RefUnwindSafe for NoteValueBase
impl Send for NoteValueBase
impl Sync for NoteValueBase
impl Unpin for NoteValueBase
impl UnwindSafe for NoteValueBase
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