pub struct Song {
pub title: String,
pub composer: String,
pub style: String,
pub key_signature: String,
pub progression: Progression,
}
Expand description
Represents a song with an iReal Pro progression.
Includes information such as the title, composer, style, key signature, and chord progression.
Fields§
§title: String
Song Title (If starting with ‘The’ change the title to ‘Song Title, The’ for sorting purposes)
composer: String
Composer’s LastName FirstName (we put the last name first for sorting purposes within the app)
style: String
Style (A short text description of the style used for sorting in the app. Medium Swing, Ballad, Pop, Rock…)
key_signature: String
Key Signature (C, Db, D, Eb, E, F, Gb, G, Ab, A, Bb, B, A-, Bb-, B-, C-, C#-, D-, Eb-, E-, F-, F#-, G-, G#-)
progression: Progression
Chord Progression (This is the main part)
Trait Implementations§
impl StructuralPartialEq for Song
Auto Trait Implementations§
impl Freeze for Song
impl RefUnwindSafe for Song
impl Send for Song
impl Sync for Song
impl Unpin for Song
impl UnwindSafe for Song
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