pub trait GLBaseFilterExt: IsA<GLBaseFilter> + 'static {
// Provided methods
fn find_gl_context(&self) -> bool { ... }
fn gl_context(&self) -> Option<GLContext> { ... }
fn context(&self) -> Option<GLContext> { ... }
fn connect_context_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
}
Expand description
Provided Methods§
Sourcefn find_gl_context(&self) -> bool
fn find_gl_context(&self) -> bool
§Returns
Whether an OpenGL context could be retrieved or created successfully
fn context(&self) -> Option<GLContext>
fn connect_context_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId
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.