pub fn music(&mut self, in_dir: &Path) -> &[String] {
        assert!(self.music.is_none(), "self.music(...) was already invoked");
        self.music = Some(enumerate_audio(in_dir, &self.assets_dir, "music", self.mp3_fallback, self.check_rerun));
        self.music.as_ref().unwrap()
    }
/// Creates handles for and copies music files from `in_dir` to the assets directory.
///
/// Music files are expected to be in `.ogg` format,
/// generating enum handles with the same names as the audio files.
/// Returns the list of these handles indexed by ID,
/// in the same order that they appear in the generated enum code.
Creates handles for and copies music files from `in_dir` to the assets directory.
Music files are expected to be in `.ogg` format,
generating enum handles with the same names as the audio files.
Returns the list of these handles indexed by ID,
in the same order that they appear in the generated enum code.
Creates handles for and copies music files from ` in_dir ` to the assets directory . Music files are expected to be in ` . ogg ` format generating enum handles with the same names as the audio files . Returns the list of these handles indexed by ID in the same order that they appear in the generated enum code .
pub fn music(&mut self, in_dir: &Path) -> &[String] {
        assert!(self.music.is_none(), "self.music(...) was already invoked");
        self.music = Some(enumerate_audio(in_dir, &self.assets_dir, "music", self.mp3_fallback, self.check_rerun));
        self.music.as_ref().unwrap()
    }
pub fn music ( & mut self , in_dir : & Path ) -> & [ String ] { assert ! ( self music is_none ( ) " " ) ; self . music = Some ( enumerate_audio ( in_dir , & self . assets_dir , " " , self . mp3_fallback , self . check_rerun ) ) ; self . music . as_ref ( ) . unwrap ( ) }
Creates handles for and copies music files from `in_dir` to the assets directory.
Creates handles for and copies music files from ` in_dir ` to the assets directory .
&mut self
in_dir
&Path
&mut self
in_dir
&Path