pub fn save(raw_assets: &RawAssets) -> crate::Result<()> {
    use std::io::prelude::*;
    for (path, bytes) in raw_assets.iter() {
        let mut file = std::fs::File::create(path)?;
        file.write_all(&bytes)?;
    }
    Ok(())
}
///
/// Save the assets as files.
///
Save the assets as files.
Save the assets as files .
pub fn save(raw_assets: &RawAssets) -> crate::Result<()> {
    use std::io::prelude::*;
    for (path, bytes) in raw_assets.iter() {
        let mut file = std::fs::File::create(path)?;
        file.write_all(&bytes)?;
    }
    Ok(())
}
pub fn save ( raw_assets : & RawAssets ) -> crate :: Result < ( ) > { use std :: io :: prelude :: * ; for ( path , bytes ) in raw_assets . iter ( ) { let mut file = std :: fs :: File :: create ( path ) ? ; file . write_all ( & bytes ) ? ; } Ok ( ( ) ) }
Save the assets as files.
Save the assets as files .
raw_assets
&RawAssets
raw_assets
&RawAssets