Struct gdk_sys::GdkWindowClass
source · [−]#[repr(C)]pub struct GdkWindowClass {Show 13 fields
pub parent_class: GObjectClass,
pub pick_embedded_child: Option<unsafe extern "C" fn(_: *mut GdkWindow, _: c_double, _: c_double) -> *mut GdkWindow>,
pub to_embedder: Option<unsafe extern "C" fn(_: *mut GdkWindow, _: c_double, _: c_double, _: *mut c_double, _: *mut c_double)>,
pub from_embedder: Option<unsafe extern "C" fn(_: *mut GdkWindow, _: c_double, _: c_double, _: *mut c_double, _: *mut c_double)>,
pub create_surface: Option<unsafe extern "C" fn(_: *mut GdkWindow, _: c_int, _: c_int) -> *mut cairo_surface_t>,
pub _gdk_reserved1: Option<unsafe extern "C" fn()>,
pub _gdk_reserved2: Option<unsafe extern "C" fn()>,
pub _gdk_reserved3: Option<unsafe extern "C" fn()>,
pub _gdk_reserved4: Option<unsafe extern "C" fn()>,
pub _gdk_reserved5: Option<unsafe extern "C" fn()>,
pub _gdk_reserved6: Option<unsafe extern "C" fn()>,
pub _gdk_reserved7: Option<unsafe extern "C" fn()>,
pub _gdk_reserved8: Option<unsafe extern "C" fn()>,
}
Fields
parent_class: GObjectClass
pick_embedded_child: Option<unsafe extern "C" fn(_: *mut GdkWindow, _: c_double, _: c_double) -> *mut GdkWindow>
to_embedder: Option<unsafe extern "C" fn(_: *mut GdkWindow, _: c_double, _: c_double, _: *mut c_double, _: *mut c_double)>
from_embedder: Option<unsafe extern "C" fn(_: *mut GdkWindow, _: c_double, _: c_double, _: *mut c_double, _: *mut c_double)>
create_surface: Option<unsafe extern "C" fn(_: *mut GdkWindow, _: c_int, _: c_int) -> *mut cairo_surface_t>
_gdk_reserved1: Option<unsafe extern "C" fn()>
_gdk_reserved2: Option<unsafe extern "C" fn()>
_gdk_reserved3: Option<unsafe extern "C" fn()>
_gdk_reserved4: Option<unsafe extern "C" fn()>
_gdk_reserved5: Option<unsafe extern "C" fn()>
_gdk_reserved6: Option<unsafe extern "C" fn()>
_gdk_reserved7: Option<unsafe extern "C" fn()>
_gdk_reserved8: Option<unsafe extern "C" fn()>
Trait Implementations
sourceimpl Clone for GdkWindowClass
impl Clone for GdkWindowClass
sourcefn clone(&self) -> GdkWindowClass
fn clone(&self) -> GdkWindowClass
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for GdkWindowClass
impl Debug for GdkWindowClass
impl Copy for GdkWindowClass
Auto Trait Implementations
impl RefUnwindSafe for GdkWindowClass
impl !Send for GdkWindowClass
impl !Sync for GdkWindowClass
impl Unpin for GdkWindowClass
impl UnwindSafe for GdkWindowClass
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more