[][src]Enum chordpro::song::Section

pub enum Section {
    Chorus(Paragraph),
    Verse(Paragraph),
    Comment(Line),
}

A song section (chorus, verse or a comment)

Variants

Chorus(Paragraph)

The chorus

Verse(Paragraph)

A verse

Comment(Line)

Chordpro comment. Only contains one Line.

Methods

impl Section[src]

Important traits for SectionIterator<'a>
pub fn iter(&self) -> SectionIterator[src]

Important traits for SectionMutIterator<'a>
pub fn iter_mut(&mut self) -> SectionMutIterator[src]

Trait Implementations

impl Clone for Section[src]

impl Debug for Section[src]

impl PartialEq<Section> for Section[src]

impl Serialize for Section[src]

impl StructuralPartialEq for Section[src]

Auto Trait Implementations

impl RefUnwindSafe for Section

impl Send for Section

impl Sync for Section

impl Unpin for Section

impl UnwindSafe for Section

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.