pub struct Bank { /* private fields */ }
Implementations§
source§impl Bank
impl Bank
pub fn from(pointer: *mut FMOD_STUDIO_BANK) -> Self
pub fn as_mut_ptr(&self) -> *mut FMOD_STUDIO_BANK
pub fn is_valid(&self) -> bool
pub fn get_id(&self) -> Result<Guid, Error>
pub fn get_path(&self) -> Result<String, Error>
pub fn unload(&self) -> Result<(), Error>
pub fn load_sample_data(&self) -> Result<(), Error>
pub fn unload_sample_data(&self) -> Result<(), Error>
pub fn get_loading_state(&self) -> Result<LoadingState, Error>
pub fn get_sample_loading_state(&self) -> Result<LoadingState, Error>
pub fn get_string_count(&self) -> Result<i32, Error>
pub fn get_string_info( &self, index: i32, size: i32 ) -> Result<(Guid, String, i32), Error>
pub fn get_event_count(&self) -> Result<i32, Error>
pub fn get_event_list( &self, capacity: i32 ) -> Result<Vec<EventDescription>, Error>
pub fn get_bus_count(&self) -> Result<i32, Error>
pub fn get_bus_list(&self, capacity: i32) -> Result<Vec<Bus>, Error>
pub fn get_vca_count(&self) -> Result<i32, Error>
pub fn get_vca_list(&self, capacity: i32) -> Result<Vec<Vca>, Error>
pub fn get_user_data(&self) -> Result<*mut c_void, Error>
pub fn set_user_data(&self, userdata: *mut c_void) -> Result<(), Error>
Trait Implementations§
impl Copy for Bank
impl Send for Bank
impl Sync for Bank
Auto Trait Implementations§
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