pub struct EventMarkings {
pub accent: Option<EventMarkingsAccent>,
pub breath: Option<EventMarkingsBreath>,
pub soft_accent: Option<EventMarkingsSoftAccent>,
pub spiccato: Option<EventMarkingsSpiccato>,
pub staccatissimo: Option<EventMarkingsStaccatissimo>,
pub staccato: Option<EventMarkingsStaccato>,
pub stress: Option<EventMarkingsStress>,
pub strong_accent: Option<EventMarkingsStrongAccent>,
pub tenuto: Option<EventMarkingsTenuto>,
pub tremolo: Option<EventMarkingsTremolo>,
pub unstress: Option<EventMarkingsUnstress>,
}Expand description
EventMarkings
JSON schema
{
"type": "object",
"properties": {
"accent": {
"type": "object",
"properties": {
"pointing": {
"$ref": "#/$defs/up-or-down"
}
},
"additionalProperties": false
},
"breath": {
"type": "object",
"properties": {
"symbol": {
"type": "string"
}
},
"additionalProperties": false
},
"softAccent": {
"type": "object",
"additionalProperties": false
},
"spiccato": {
"type": "object",
"additionalProperties": false
},
"staccatissimo": {
"type": "object",
"additionalProperties": false
},
"staccato": {
"type": "object",
"additionalProperties": false
},
"stress": {
"type": "object",
"additionalProperties": false
},
"strongAccent": {
"type": "object",
"properties": {
"pointing": {
"$ref": "#/$defs/up-or-down"
}
},
"additionalProperties": false
},
"tenuto": {
"type": "object",
"additionalProperties": false
},
"tremolo": {
"type": "object",
"required": [
"marks"
],
"properties": {
"marks": {
"$ref": "#/$defs/positive-integer"
}
},
"additionalProperties": false
},
"unstress": {
"type": "object",
"additionalProperties": false
}
},
"additionalProperties": false
}Fields§
§accent: Option<EventMarkingsAccent>§breath: Option<EventMarkingsBreath>§soft_accent: Option<EventMarkingsSoftAccent>§spiccato: Option<EventMarkingsSpiccato>§staccatissimo: Option<EventMarkingsStaccatissimo>§staccato: Option<EventMarkingsStaccato>§stress: Option<EventMarkingsStress>§strong_accent: Option<EventMarkingsStrongAccent>§tenuto: Option<EventMarkingsTenuto>§tremolo: Option<EventMarkingsTremolo>§unstress: Option<EventMarkingsUnstress>Implementations§
Source§impl EventMarkings
impl EventMarkings
pub fn builder() -> EventMarkings
Trait Implementations§
Source§impl Clone for EventMarkings
impl Clone for EventMarkings
Source§fn clone(&self) -> EventMarkings
fn clone(&self) -> EventMarkings
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 EventMarkings
impl Debug for EventMarkings
Source§impl Default for EventMarkings
impl Default for EventMarkings
Source§impl<'de> Deserialize<'de> for EventMarkings
impl<'de> Deserialize<'de> for EventMarkings
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 From<&EventMarkings> for EventMarkings
impl From<&EventMarkings> for EventMarkings
Source§fn from(value: &EventMarkings) -> Self
fn from(value: &EventMarkings) -> Self
Converts to this type from the input type.
Source§impl From<EventMarkings> for EventMarkings
impl From<EventMarkings> for EventMarkings
Source§fn from(value: EventMarkings) -> Self
fn from(value: EventMarkings) -> Self
Converts to this type from the input type.
Source§impl Serialize for EventMarkings
impl Serialize for EventMarkings
Source§impl TryFrom<EventMarkings> for EventMarkings
impl TryFrom<EventMarkings> for EventMarkings
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: EventMarkings) -> Result<Self, ConversionError>
fn try_from(value: EventMarkings) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for EventMarkings
impl RefUnwindSafe for EventMarkings
impl Send for EventMarkings
impl Sync for EventMarkings
impl Unpin for EventMarkings
impl UnwindSafe for EventMarkings
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