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> { ... }
}Available on crate feature
v1_18 only.Required Associated Constants§
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>
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.