pub struct GSource {Show 13 fields
pub callback_data: *mut c_void,
pub callback_funcs: *mut GSourceCallbackFuncs,
pub source_funcs: *const GSourceFuncs,
pub ref_count: u32,
pub context: *mut GMainContext,
pub priority: i32,
pub flags: u32,
pub source_id: u32,
pub poll_fds: *mut GSList,
pub prev: *mut GSource,
pub next: *mut GSource,
pub name: *mut i8,
pub priv_: *mut *mut _GSourcePrivate,
}
Fields§
§callback_data: *mut c_void
§callback_funcs: *mut GSourceCallbackFuncs
§source_funcs: *const GSourceFuncs
§ref_count: u32
§context: *mut GMainContext
§priority: i32
§flags: u32
§source_id: u32
§poll_fds: *mut GSList
§prev: *mut GSource
§next: *mut GSource
§name: *mut i8
§priv_: *mut *mut _GSourcePrivate
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for GSource
impl !Send for GSource
impl !Sync for GSource
impl Unpin for GSource
impl UnwindSafe for GSource
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.