Trait fmod::studio::EventInstanceCallback
source · pub trait EventInstanceCallback {
Show 19 methods
// Provided methods
fn created(event: EventInstance) -> Result<()> { ... }
fn destroyed(event: EventInstance) -> Result<()> { ... }
fn starting(event: EventInstance) -> Result<()> { ... }
fn started(event: EventInstance) -> Result<()> { ... }
fn restarted(event: EventInstance) -> Result<()> { ... }
fn stopped(event: EventInstance) -> Result<()> { ... }
fn start_failed(event: EventInstance) -> Result<()> { ... }
fn create_programmer_sound(
event: EventInstance,
sound_props: ProgrammerSoundProperties<'_>,
) -> Result<()> { ... }
fn destroy_programmer_sound(
event: EventInstance,
sound_props: ProgrammerSoundProperties<'_>,
) -> Result<()> { ... }
fn plugin_created(
event: EventInstance,
plugin_props: PluginInstanceProperties,
) -> Result<()> { ... }
fn plugin_destroyed(
event: EventInstance,
plugin_props: PluginInstanceProperties,
) -> Result<()> { ... }
fn timeline_marker(
event: EventInstance,
timeline_props: TimelineMarkerProperties,
) -> Result<()> { ... }
fn timeline_beat(
event: EventInstance,
timeline_beat: TimelineBeatProperties,
) -> Result<()> { ... }
fn sound_played(event: EventInstance, sound: Sound) -> Result<()> { ... }
fn sound_stopped(event: EventInstance, sound: Sound) -> Result<()> { ... }
fn real_to_virtual(event: EventInstance) -> Result<()> { ... }
fn virtual_to_real(event: EventInstance) -> Result<()> { ... }
fn start_event_command(
event: EventInstance,
new_event: EventInstance,
) -> Result<()> { ... }
fn nested_timeline_beat(
event: EventInstance,
timeline_props: TimelineNestedBeatProperties,
) -> Result<()> { ... }
}Provided Methods§
fn created(event: EventInstance) -> Result<()>
fn destroyed(event: EventInstance) -> Result<()>
fn starting(event: EventInstance) -> Result<()>
fn started(event: EventInstance) -> Result<()>
fn restarted(event: EventInstance) -> Result<()>
fn stopped(event: EventInstance) -> Result<()>
fn start_failed(event: EventInstance) -> Result<()>
fn create_programmer_sound( event: EventInstance, sound_props: ProgrammerSoundProperties<'_>, ) -> Result<()>
fn destroy_programmer_sound( event: EventInstance, sound_props: ProgrammerSoundProperties<'_>, ) -> Result<()>
fn plugin_created( event: EventInstance, plugin_props: PluginInstanceProperties, ) -> Result<()>
fn plugin_destroyed( event: EventInstance, plugin_props: PluginInstanceProperties, ) -> Result<()>
fn timeline_marker( event: EventInstance, timeline_props: TimelineMarkerProperties, ) -> Result<()>
fn timeline_beat( event: EventInstance, timeline_beat: TimelineBeatProperties, ) -> Result<()>
fn sound_played(event: EventInstance, sound: Sound) -> Result<()>
fn sound_stopped(event: EventInstance, sound: Sound) -> Result<()>
fn real_to_virtual(event: EventInstance) -> Result<()>
fn virtual_to_real(event: EventInstance) -> Result<()>
fn start_event_command( event: EventInstance, new_event: EventInstance, ) -> Result<()>
fn nested_timeline_beat( event: EventInstance, timeline_props: TimelineNestedBeatProperties, ) -> Result<()>
Object Safety§
This trait is not object safe.