fn load_bank(&mut self, bank_config: &BankConfig) -> Result<(), SampleLoadError> {
        for sample_config in &bank_config.samples {
            self.load_sample(sample_config)?;
        }

        Ok(())
    }
/// Convenience method which calls load_sample for each SampleConfig specified by the given BankConfig
Convenience method which calls load_sample for each SampleConfig specified by the given BankConfig
Convenience method which calls load_sample for each SampleConfig specified by the given BankConfig
fn load_bank(&mut self, bank_config: &BankConfig) -> Result<(), SampleLoadError> {
        for sample_config in &bank_config.samples {
            self.load_sample(sample_config)?;
        }
        Ok(())
    }
fn load_bank ( & mut self , bank_config : & BankConfig ) -> Result < ( ) , SampleLoadError > { for sample_config in & bank_config . samples { self . load_sample ( sample_config ) ? ; } Ok ( ( ) ) }
Convenience method which calls load_sample for each SampleConfig specified by the given BankConfig
Convenience method which calls load_sample for each SampleConfig specified by the given BankConfig
&mut self
bank_config
&BankConfig
&mut self
bank_config
&BankConfig