Skip to main content

IAudioSampleProvider_SampleFramesHandlerMethods

Trait IAudioSampleProvider_SampleFramesHandlerMethods 

Source
pub trait IAudioSampleProvider_SampleFramesHandlerMethods: IAudioSampleProvider_SampleFramesHandler {
    // Provided methods
    fn ctor(self, object: impl Into<Object>, method: impl Into<IntPtr>) { ... }
    fn invoke(
        self,
        provider: impl Into<AudioSampleProvider>,
        sample_frame_count: impl Into<u32>,
    ) { ... }
}

Provided Methods§

Source

fn ctor(self, object: impl Into<Object>, method: impl Into<IntPtr>)

.ctor(crate::system::object::Object, ::unity::IntPtr) overload

Source

fn invoke( self, provider: impl Into<AudioSampleProvider>, sample_frame_count: impl Into<u32>, )

Invoke(crate::unity_engine::experimental::audio::audiosampleprovider::AudioSampleProvider, u32) overload

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§

Source§

impl<__T: IAudioSampleProvider_SampleFramesHandler> IAudioSampleProvider_SampleFramesHandlerMethods for __T

Available on crate feature unity_engine-experimental-audio-audiosampleprovider only.