pub struct TextLyric {
pub syllabic: Option<Syllabic>,
pub text: Text,
pub additional: Vec<AdditionalTextLyric>,
pub extend: Option<Extend>,
pub end_line: Option<EndLine>,
pub end_paragraph: Option<EndParagraph>,
pub footnote: Option<Footnote>,
pub level: Option<Level>,
}Expand description
The TextLyric element represents the text of a lyric.
Fields§
§syllabic: Option<Syllabic>The Syllabic element represents the type of syllable for a lyric.
text: TextThe Text element represents the text of a lyric.
additional: Vec<AdditionalTextLyric>Additional text elements that are part of the same syllable.
extend: Option<Extend>The Extend element represents an extension of a lyric.
end_line: Option<EndLine>The EndLine element specifies the end of a line of lyrics.
end_paragraph: Option<EndParagraph>The EndParagraph element specifies the end of a paragraph of lyrics.
footnote: Option<Footnote>The Footnote element specifies editorial information or lyrics content.
level: Option<Level>The Level element specifies the editorial level of a score or part.
Trait Implementations§
Source§impl ContentDeserializer for TextLyric
impl ContentDeserializer for TextLyric
fn deserialize(elements: &[XmlElement]) -> Result<Self, String>
Source§impl ContentSerializer for TextLyric
impl ContentSerializer for TextLyric
fn serialize(element: &Self) -> Vec<XmlElement>
impl Eq for TextLyric
impl StructuralPartialEq for TextLyric
Auto Trait Implementations§
impl Freeze for TextLyric
impl RefUnwindSafe for TextLyric
impl Send for TextLyric
impl Sync for TextLyric
impl Unpin for TextLyric
impl UnwindSafe for TextLyric
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