pub struct Stanza {
pub lang: Option<LanguageTag>,
pub title: Option<Title>,
pub subtitle: Option<Paragraph>,
pub lines: Vec<Paragraph>,
}Expand description
Each poem should have at least one stanza. Stanzas are usually separated with empty lines by user agents.
Fields§
§lang: Option<LanguageTag>§title: Option<Title>§subtitle: Option<Paragraph>§lines: Vec<Paragraph>Trait Implementations§
source§impl PartialEq<Stanza> for Stanza
impl PartialEq<Stanza> for Stanza
impl StructuralPartialEq for Stanza
Auto Trait Implementations§
impl RefUnwindSafe for Stanza
impl Send for Stanza
impl Sync for Stanza
impl Unpin for Stanza
impl UnwindSafe for Stanza
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