pub fn iter(&self) -> impl Iterator<Item = (bool, &Song)> {
        self.store
            .iter()
            .enumerate()
            .map(move |(i, s)| (i == self.currently_playing, s))
    }
/// Returns an iterator over the songs with a boolean indicating
/// whether the song is currently being played.
Returns an iterator over the songs with a boolean indicating
whether the song is currently being played.
Returns an iterator over the songs with a boolean indicating whether the song is currently being played .
pub fn iter(&self) -> impl Iterator<Item = (bool, &Song)> {
        self.store
            .iter()
            .enumerate()
            .map(move |(i, s)| (i == self.currently_playing, s))
    }
pub fn iter ( & self ) -> impl Iterator < Item = ( bool , & Song ) > { self . store . iter ( ) . enumerate ( ) . map ( move | ( i , s ) | ( i == self . currently_playing , s ) ) }
Returns an iterator over the songs with a boolean indicating
whether the song is currently being played.
Returns an iterator over the songs with a boolean indicating whether the song is currently being played .
&self