Trait ChannelControlCallback

Source
pub trait ChannelControlCallback {
    // Provided methods
    fn end(channel_control: ChannelControlType) -> Result<()> { ... }
    fn virtual_voice(
        channel_control: ChannelControlType,
        is_virtual: bool,
    ) -> Result<()> { ... }
    fn sync_point(
        channel_control: ChannelControlType,
        sync_point: c_int,
    ) -> Result<()> { ... }
    fn occlusion(
        channel_control: ChannelControlType,
        direct: &mut c_float,
        reverb: &mut c_float,
    ) -> Result<()> { ... }
}

Provided Methods§

Source

fn end(channel_control: ChannelControlType) -> Result<()>

Source

fn virtual_voice( channel_control: ChannelControlType, is_virtual: bool, ) -> Result<()>

Source

fn sync_point( channel_control: ChannelControlType, sync_point: c_int, ) -> Result<()>

Source

fn occlusion( channel_control: ChannelControlType, direct: &mut c_float, reverb: &mut c_float, ) -> Result<()>

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.

Implementors§