pub struct EventSlursItem {
pub end_note: Option<Id>,
pub line_type: Option<EventSlursItemLineType>,
pub side: Option<SlurSide>,
pub side_end: Option<SlurSide>,
pub start_note: Option<Id>,
pub target: Id,
}Expand description
EventSlursItem
JSON schema
{
"type": "object",
"required": [
"target"
],
"properties": {
"endNote": {
"$ref": "#/$defs/id"
},
"lineType": {
"type": "string",
"enum": [
"dashed",
"dotted",
"solid",
"wavy"
]
},
"side": {
"$ref": "#/$defs/slur-side"
},
"sideEnd": {
"$ref": "#/$defs/slur-side"
},
"startNote": {
"$ref": "#/$defs/id"
},
"target": {
"$ref": "#/$defs/id"
}
},
"additionalProperties": false
}Fields§
§end_note: Option<Id>§line_type: Option<EventSlursItemLineType>§side: Option<SlurSide>§side_end: Option<SlurSide>§start_note: Option<Id>§target: IdImplementations§
Source§impl EventSlursItem
impl EventSlursItem
pub fn builder() -> EventSlursItem
Trait Implementations§
Source§impl Clone for EventSlursItem
impl Clone for EventSlursItem
Source§fn clone(&self) -> EventSlursItem
fn clone(&self) -> EventSlursItem
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 EventSlursItem
impl Debug for EventSlursItem
Source§impl<'de> Deserialize<'de> for EventSlursItem
impl<'de> Deserialize<'de> for EventSlursItem
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<&EventSlursItem> for EventSlursItem
impl From<&EventSlursItem> for EventSlursItem
Source§fn from(value: &EventSlursItem) -> Self
fn from(value: &EventSlursItem) -> Self
Converts to this type from the input type.
Source§impl From<EventSlursItem> for EventSlursItem
impl From<EventSlursItem> for EventSlursItem
Source§fn from(value: EventSlursItem) -> Self
fn from(value: EventSlursItem) -> Self
Converts to this type from the input type.
Source§impl Serialize for EventSlursItem
impl Serialize for EventSlursItem
Source§impl TryFrom<EventSlursItem> for EventSlursItem
impl TryFrom<EventSlursItem> for EventSlursItem
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: EventSlursItem) -> Result<Self, ConversionError>
fn try_from(value: EventSlursItem) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for EventSlursItem
impl RefUnwindSafe for EventSlursItem
impl Send for EventSlursItem
impl Sync for EventSlursItem
impl Unpin for EventSlursItem
impl UnwindSafe for EventSlursItem
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