pub trait AudioVisualizerImpl: AudioVisualizerImplExt + ElementImpl {
// Provided methods
fn setup(
&self,
token: &AudioVisualizerSetupToken<'_>,
) -> Result<(), LoggableError> { ... }
fn render(
&self,
audio_buffer: &BufferRef,
video_frame: &mut VideoFrameRef<&mut BufferRef>,
) -> Result<(), LoggableError> { ... }
fn decide_allocation(
&self,
query: &mut Allocation,
) -> Result<(), LoggableError> { ... }
}
Provided Methods§
fn setup( &self, token: &AudioVisualizerSetupToken<'_>, ) -> Result<(), LoggableError>
fn render( &self, audio_buffer: &BufferRef, video_frame: &mut VideoFrameRef<&mut BufferRef>, ) -> Result<(), LoggableError>
fn decide_allocation(&self, query: &mut Allocation) -> Result<(), LoggableError>
Object Safety§
This trait is not object safe.