[][src]Struct gstreamer_gl_sys::GstGLContextClass

#[repr(C)]
pub struct GstGLContextClass {
    pub parent_class: GstObjectClass,
    pub get_current_context: Option<unsafe extern "C" fn() -> uintptr_t>,
    pub get_gl_context: Option<unsafe extern "C" fn(_: *mut GstGLContext) -> uintptr_t>,
    pub get_gl_api: Option<unsafe extern "C" fn(_: *mut GstGLContext) -> GstGLAPI>,
    pub get_gl_platform: Option<unsafe extern "C" fn(_: *mut GstGLContext) -> GstGLPlatform>,
    pub get_proc_address: Option<unsafe extern "C" fn(_: GstGLAPI, _: *const c_char) -> gpointer>,
    pub activate: Option<unsafe extern "C" fn(_: *mut GstGLContext, _: gboolean) -> gboolean>,
    pub choose_format: Option<unsafe extern "C" fn(_: *mut GstGLContext, _: *mut *mut GError) -> gboolean>,
    pub create_context: Option<unsafe extern "C" fn(_: *mut GstGLContext, _: GstGLAPI, _: *mut GstGLContext, _: *mut *mut GError) -> gboolean>,
    pub destroy_context: Option<unsafe extern "C" fn(_: *mut GstGLContext)>,
    pub swap_buffers: Option<unsafe extern "C" fn(_: *mut GstGLContext)>,
    pub check_feature: Option<unsafe extern "C" fn(_: *mut GstGLContext, _: *const c_char) -> gboolean>,
    pub get_gl_platform_version: Option<unsafe extern "C" fn(_: *mut GstGLContext, _: *mut c_int, _: *mut c_int)>,
    pub _reserved: [gpointer; 4],
}

Fields

parent_class: GstObjectClassget_current_context: Option<unsafe extern "C" fn() -> uintptr_t>get_gl_context: Option<unsafe extern "C" fn(_: *mut GstGLContext) -> uintptr_t>get_gl_api: Option<unsafe extern "C" fn(_: *mut GstGLContext) -> GstGLAPI>get_gl_platform: Option<unsafe extern "C" fn(_: *mut GstGLContext) -> GstGLPlatform>get_proc_address: Option<unsafe extern "C" fn(_: GstGLAPI, _: *const c_char) -> gpointer>activate: Option<unsafe extern "C" fn(_: *mut GstGLContext, _: gboolean) -> gboolean>choose_format: Option<unsafe extern "C" fn(_: *mut GstGLContext, _: *mut *mut GError) -> gboolean>create_context: Option<unsafe extern "C" fn(_: *mut GstGLContext, _: GstGLAPI, _: *mut GstGLContext, _: *mut *mut GError) -> gboolean>destroy_context: Option<unsafe extern "C" fn(_: *mut GstGLContext)>swap_buffers: Option<unsafe extern "C" fn(_: *mut GstGLContext)>check_feature: Option<unsafe extern "C" fn(_: *mut GstGLContext, _: *const c_char) -> gboolean>get_gl_platform_version: Option<unsafe extern "C" fn(_: *mut GstGLContext, _: *mut c_int, _: *mut c_int)>_reserved: [gpointer; 4]

Trait Implementations

impl Clone for GstGLContextClass[src]

impl Copy for GstGLContextClass[src]

impl Debug for GstGLContextClass[src]

Auto Trait Implementations

impl RefUnwindSafe for GstGLContextClass

impl !Send for GstGLContextClass

impl !Sync for GstGLContextClass

impl Unpin for GstGLContextClass

impl UnwindSafe for GstGLContextClass

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.