#[repr(C)]pub struct GSource {Show 13 fields
pub callback_data: gpointer,
pub callback_funcs: *mut GSourceCallbackFuncs,
pub source_funcs: *const GSourceFuncs,
pub ref_count: c_uint,
pub context: *mut GMainContext,
pub priority: c_int,
pub flags: c_uint,
pub source_id: c_uint,
pub poll_fds: *mut GSList,
pub prev: *mut GSource,
pub next: *mut GSource,
pub name: *mut c_char,
pub priv_: *mut GSourcePrivate,
}
Fields
callback_data: gpointer
callback_funcs: *mut GSourceCallbackFuncs
source_funcs: *const GSourceFuncs
ref_count: c_uint
context: *mut GMainContext
priority: c_int
flags: c_uint
source_id: c_uint
poll_fds: *mut GSList
prev: *mut GSource
next: *mut GSource
name: *mut c_char
priv_: *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
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