pub struct GSourceCallbackFuncs {
pub ref_: Option<unsafe extern "C" fn(_: *mut c_void)>,
pub unref: Option<unsafe extern "C" fn(_: *mut c_void)>,
pub get: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut GSource, _: *mut Option<unsafe extern "C" fn(_: *mut c_void) -> i32>, _: *mut *mut c_void)>,
}
Fields§
§ref_: Option<unsafe extern "C" fn(_: *mut c_void)>
§unref: Option<unsafe extern "C" fn(_: *mut c_void)>
§get: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut GSource, _: *mut Option<unsafe extern "C" fn(_: *mut c_void) -> i32>, _: *mut *mut c_void)>
Trait Implementations§
§impl Clone for GSourceCallbackFuncs
impl Clone for GSourceCallbackFuncs
§fn clone(&self) -> GSourceCallbackFuncs
fn clone(&self) -> GSourceCallbackFuncs
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 GSourceCallbackFuncs
impl Debug for GSourceCallbackFuncs
impl Copy for GSourceCallbackFuncs
Auto Trait Implementations§
impl RefUnwindSafe for GSourceCallbackFuncs
impl Send for GSourceCallbackFuncs
impl Sync for GSourceCallbackFuncs
impl Unpin for GSourceCallbackFuncs
impl UnwindSafe for GSourceCallbackFuncs
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.