# Struct glib_sys::GSource [−] [src]

    #[repr(C)]
    pub struct GSource {
        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`

# Help

## Keyboard Shortcuts

?
  Show this help dialog
S
  Focus the search field
↑
  Move up in search results
↓
  Move down in search results
↹
  Switch tab
⏎
  Go to active search result
+ / -
  Collapse/expand all sections

## Search Tricks

Prefix searches with a type followed by a colon (e.g. `fn:`) to restrict the search to a given type.

Accepted types are: `fn`, `mod`, `struct`, `enum`, `trait`, `type`, `macro`, and `const`.

Search functions by type signature (e.g. `vec -> usize` or `* -> vec`)