pub trait GLBaseSrcImpl: PushSrcImpl + ObjectSubclass<Type: IsA<GLBaseSrc>> {
const SUPPORTED_GL_API: GLAPI;
// Provided methods
fn gl_start(&self) -> Result<(), LoggableError> { ... }
fn gl_stop(&self) { ... }
fn fill_gl_memory(&self, memory: &GLMemory) -> Result<(), LoggableError> { ... }
}
Required Associated Constants§
const SUPPORTED_GL_API: GLAPI
Provided Methods§
Sourcefn gl_start(&self) -> Result<(), LoggableError>
fn gl_start(&self) -> Result<(), LoggableError>
called in the GL thread to setup the element GL state.
Sourcefn fill_gl_memory(&self, memory: &GLMemory) -> Result<(), LoggableError>
fn fill_gl_memory(&self, memory: &GLMemory) -> Result<(), LoggableError>
called in the GL thread to fill the current video texture.
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.