Skip to main content

IAudioClip_PCMReaderCallbackMethods

Trait IAudioClip_PCMReaderCallbackMethods 

Source
pub trait IAudioClip_PCMReaderCallbackMethods: IAudioClip_PCMReaderCallback {
    // Provided methods
    fn ctor(self, object: impl Into<Object>, method: impl Into<IntPtr>) { ... }
    fn invoke(self, data: impl Into<Array<f32>>) { ... }
}

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, data: impl Into<Array<f32>>)

Invoke(::unity::Array<f32>) 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: IAudioClip_PCMReaderCallback> IAudioClip_PCMReaderCallbackMethods for __T

Available on crate feature unity_engine-audioclip only.