Skip to main content

AudioResponse

Trait AudioResponse 

Source
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§

Source

fn with_ui_sound(self, pending: &mut Vec<UiAudioEvent>) -> Self

Source

fn with_checkbox_sound( self, checked: bool, pending: &mut Vec<UiAudioEvent>, ) -> Self

Source

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.

Implementations on Foreign Types§

Source§

impl AudioResponse for Response

Source§

fn with_ui_sound(self, pending: &mut Vec<UiAudioEvent>) -> Self

Source§

fn with_checkbox_sound( self, checked: bool, pending: &mut Vec<UiAudioEvent>, ) -> Self

Source§

fn with_tab_sound(self, pending: &mut Vec<UiAudioEvent>) -> Self

Implementors§