pub trait AudioResponse {
// Required methods
fn with_ui_sound(self, pending: &mut Vec<UiAudioEvent>) -> Self;
fn with_checkbox_sound(
self,
checked: bool,
pending: &mut Vec<UiAudioEvent>,
) -> Self;
fn with_tab_sound(self, pending: &mut Vec<UiAudioEvent>) -> Self;
}Required Methods§
fn with_ui_sound(self, pending: &mut Vec<UiAudioEvent>) -> Self
fn with_checkbox_sound( self, checked: bool, pending: &mut Vec<UiAudioEvent>, ) -> Self
fn with_tab_sound(self, pending: &mut Vec<UiAudioEvent>) -> Self
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.