Struct frida_sys::_GSourceFuncs
source · [−]#[repr(C)]pub struct _GSourceFuncs {
pub prepare: Option<unsafe extern "C" fn(source: *mut GSource, timeout_: *mut gint) -> gboolean>,
pub check: Option<unsafe extern "C" fn(source: *mut GSource) -> gboolean>,
pub dispatch: Option<unsafe extern "C" fn(source: *mut GSource, callback: GSourceFunc, user_data: gpointer) -> gboolean>,
pub finalize: Option<unsafe extern "C" fn(source: *mut GSource)>,
pub closure_callback: GSourceFunc,
pub closure_marshal: GSourceDummyMarshal,
}Fields
prepare: Option<unsafe extern "C" fn(source: *mut GSource, timeout_: *mut gint) -> gboolean>check: Option<unsafe extern "C" fn(source: *mut GSource) -> gboolean>dispatch: Option<unsafe extern "C" fn(source: *mut GSource, callback: GSourceFunc, user_data: gpointer) -> gboolean>finalize: Option<unsafe extern "C" fn(source: *mut GSource)>closure_callback: GSourceFuncclosure_marshal: GSourceDummyMarshalTrait Implementations
sourceimpl Clone for _GSourceFuncs
impl Clone for _GSourceFuncs
sourcefn clone(&self) -> _GSourceFuncs
fn clone(&self) -> _GSourceFuncs
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 _GSourceFuncs
impl Debug for _GSourceFuncs
impl Copy for _GSourceFuncs
Auto Trait Implementations
impl RefUnwindSafe for _GSourceFuncs
impl Send for _GSourceFuncs
impl Sync for _GSourceFuncs
impl Unpin for _GSourceFuncs
impl UnwindSafe for _GSourceFuncs
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub 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.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub 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