pub struct Loader { /* private fields */ }Expand description
The SoundFont loader object
Implementations§
Source§impl Loader
impl Loader
Sourcepub fn new_default() -> Result<Self>
pub fn new_default() -> Result<Self>
Create default SoundFont loader
Sourcepub fn set_file_api<F: FileApi>(&self, fileapi: F)
pub fn set_file_api<F: FileApi>(&self, fileapi: F)
Set the file reading API which will be used by loader
Sourcepub fn set_default_file_api<F: FileApi>(fileapi: F)
pub fn set_default_file_api<F: FileApi>(fileapi: F)
Set the file reading API which will be used by loaders by default
Sourcepub fn reset_default_file_api()
pub fn reset_default_file_api()
Reset the file reading API which will be used by loaders by default
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Loader
impl RefUnwindSafe for Loader
impl !Sync for Loader
impl Unpin for Loader
impl UnwindSafe for Loader
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more