Struct chordpro::song::Song [−][src]
#[non_exhaustive]pub struct Song {
pub title: String,
pub artist: String,
pub capo: u8,
pub song: Vec<Section>,
}
Expand description
A song with its chords
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.title: String
artist: String
capo: u8
song: Vec<Section>
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Song
impl UnwindSafe for Song
Blanket Implementations
Mutably borrows from an owned value. Read more