#[repr(C)]pub struct _GClosure {
pub _bitfield_align_1: [u16; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4]>,
pub marshal: Option<unsafe extern "C" fn(closure: *mut GClosure, return_value: *mut GValue, n_param_values: guint, param_values: *const GValue, invocation_hint: gpointer, marshal_data: gpointer)>,
pub data: gpointer,
pub notifiers: *mut GClosureNotifyData,
}Fields
_bitfield_align_1: [u16; 0]_bitfield_1: __BindgenBitfieldUnit<[u8; 4]>marshal: Option<unsafe extern "C" fn(closure: *mut GClosure, return_value: *mut GValue, n_param_values: guint, param_values: *const GValue, invocation_hint: gpointer, marshal_data: gpointer)>data: gpointernotifiers: *mut GClosureNotifyDataImplementations
sourceimpl _GClosure
impl _GClosure
pub fn ref_count(&self) -> guint
pub fn set_ref_count(&mut self, val: guint)
pub fn meta_marshal_nouse(&self) -> guint
pub fn set_meta_marshal_nouse(&mut self, val: guint)
pub fn n_guards(&self) -> guint
pub fn set_n_guards(&mut self, val: guint)
pub fn n_fnotifiers(&self) -> guint
pub fn set_n_fnotifiers(&mut self, val: guint)
pub fn n_inotifiers(&self) -> guint
pub fn set_n_inotifiers(&mut self, val: guint)
pub fn in_inotify(&self) -> guint
pub fn set_in_inotify(&mut self, val: guint)
pub fn floating(&self) -> guint
pub fn set_floating(&mut self, val: guint)
pub fn derivative_flag(&self) -> guint
pub fn set_derivative_flag(&mut self, val: guint)
pub fn in_marshal(&self) -> guint
pub fn set_in_marshal(&mut self, val: guint)
pub fn is_invalid(&self) -> guint
pub fn set_is_invalid(&mut self, val: guint)
pub fn new_bitfield_1(
ref_count: guint,
meta_marshal_nouse: guint,
n_guards: guint,
n_fnotifiers: guint,
n_inotifiers: guint,
in_inotify: guint,
floating: guint,
derivative_flag: guint,
in_marshal: guint,
is_invalid: guint
) -> __BindgenBitfieldUnit<[u8; 4]>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for _GClosure
impl !Send for _GClosure
impl !Sync for _GClosure
impl Unpin for _GClosure
impl UnwindSafe for _GClosure
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