#[repr(C)]pub struct GtkGLAreaClass {
pub parent_class: GtkWidgetClass,
pub render: Option<unsafe extern "C" fn(*mut GtkGLArea, *mut GdkGLContext) -> gboolean>,
pub resize: Option<unsafe extern "C" fn(*mut GtkGLArea, c_int, c_int)>,
pub create_context: Option<unsafe extern "C" fn(*mut GtkGLArea) -> *mut GdkGLContext>,
pub _padding: [gpointer; 8],
}Fields§
§parent_class: GtkWidgetClass§render: Option<unsafe extern "C" fn(*mut GtkGLArea, *mut GdkGLContext) -> gboolean>§resize: Option<unsafe extern "C" fn(*mut GtkGLArea, c_int, c_int)>§create_context: Option<unsafe extern "C" fn(*mut GtkGLArea) -> *mut GdkGLContext>§_padding: [gpointer; 8]Trait Implementations§
Source§impl Clone for GtkGLAreaClass
impl Clone for GtkGLAreaClass
Source§fn clone(&self) -> GtkGLAreaClass
fn clone(&self) -> GtkGLAreaClass
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for GtkGLAreaClass
Auto Trait Implementations§
impl !Send for GtkGLAreaClass
impl !Sync for GtkGLAreaClass
impl Freeze for GtkGLAreaClass
impl RefUnwindSafe for GtkGLAreaClass
impl Unpin for GtkGLAreaClass
impl UnsafeUnpin for GtkGLAreaClass
impl UnwindSafe for GtkGLAreaClass
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more