pub trait AudioVisualizerImplExt: AudioVisualizerImpl {
// Provided methods
fn parent_setup(
&self,
token: &AudioVisualizerSetupToken<'_>,
) -> Result<(), LoggableError> { ... }
fn parent_render(
&self,
audio_buffer: &BufferRef,
video_frame: &mut VideoFrameRef<&mut BufferRef>,
) -> Result<(), LoggableError> { ... }
fn parent_decide_allocation(
&self,
query: &mut Allocation,
) -> Result<(), LoggableError> { ... }
}
Provided Methods§
fn parent_setup( &self, token: &AudioVisualizerSetupToken<'_>, ) -> Result<(), LoggableError>
fn parent_render( &self, audio_buffer: &BufferRef, video_frame: &mut VideoFrameRef<&mut BufferRef>, ) -> Result<(), LoggableError>
fn parent_decide_allocation( &self, query: &mut Allocation, ) -> Result<(), LoggableError>
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.