pub struct GSourceFuncs {
pub prepare: Option<unsafe extern "C" fn(_: *mut GSource, _: *mut i32) -> i32>,
pub check: Option<unsafe extern "C" fn(_: *mut GSource) -> i32>,
pub dispatch: Option<unsafe extern "C" fn(_: *mut GSource, _: Option<unsafe extern "C" fn(_: *mut c_void) -> i32>, _: *mut c_void) -> i32>,
pub finalize: Option<unsafe extern "C" fn(_: *mut GSource)>,
pub closure_callback: Option<unsafe extern "C" fn(_: *mut c_void) -> i32>,
pub closure_marshal: Option<unsafe extern "C" fn()>,
}
Fields§
§prepare: Option<unsafe extern "C" fn(_: *mut GSource, _: *mut i32) -> i32>
§check: Option<unsafe extern "C" fn(_: *mut GSource) -> i32>
§dispatch: Option<unsafe extern "C" fn(_: *mut GSource, _: Option<unsafe extern "C" fn(_: *mut c_void) -> i32>, _: *mut c_void) -> i32>
§finalize: Option<unsafe extern "C" fn(_: *mut GSource)>
§closure_callback: Option<unsafe extern "C" fn(_: *mut c_void) -> i32>
§closure_marshal: Option<unsafe extern "C" fn()>
Trait Implementations§
§impl Clone for GSourceFuncs
impl Clone for GSourceFuncs
§fn clone(&self) -> GSourceFuncs
fn clone(&self) -> GSourceFuncs
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl 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§
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
§impl<T> RoundFrom<T> for T
impl<T> RoundFrom<T> for T
§fn round_from(x: T) -> T
fn round_from(x: T) -> T
Performs the conversion.
§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere U: RoundFrom<T>,
§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.