[][src]Struct glib_sys::GSource

#[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: gpointercallback_funcs: *mut GSourceCallbackFuncssource_funcs: *const GSourceFuncsref_count: c_uintcontext: *mut GMainContextpriority: c_intflags: c_uintsource_id: c_uintpoll_fds: *mut GSListprev: *mut GSourcenext: *mut GSourcename: *mut c_charpriv_: *mut GSourcePrivate

Trait Implementations

impl Clone for GSource[src]

impl Copy for GSource[src]

impl Debug for GSource[src]

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.