pub struct Song {
pub lines: Vec<Line>,
pub metadata: Option<SongMetaData>,
pub basic_data: BasicSongData,
}
Expand description
A full set of available data about a tab on UG
This struct is normally generated by crate::tab_scraper::get_song_data
.
Fields§
§lines: Vec<Line>
A vector of all lines in the tab
metadata: Option<SongMetaData>
The detailed metadata of the song.
This data is optional, because some types of tab (e.g. Drum) don’t have any metadata.
basic_data: BasicSongData
Basic data about the tab
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