pub trait IsFont {
// Required methods
fn get_id(&self) -> FontId;
fn get_name(&self) -> Option<&str>;
fn get_preset(&self, bank: Bank, num: PresetId) -> Option<PresetRef<'_>>;
}
Expand description
The SoundFont interface
pub trait IsFont {
// Required methods
fn get_id(&self) -> FontId;
fn get_name(&self) -> Option<&str>;
fn get_preset(&self, bank: Bank, num: PresetId) -> Option<PresetRef<'_>>;
}
The SoundFont interface