Struct glib::SourceId [] [src]

pub struct SourceId(_);

The id of a source that is returned by idle_add and timeout_add.

A value of 0 is a good default as it is never a valid source ID.

Trait Implementations

impl Clone for Id
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Id
[src]

impl Debug for Id
[src]

Formats the value using the given formatter.

impl Default for Id
[src]

Returns the "default value" for a type. Read more

impl Eq for Id
[src]

impl PartialEq for Id
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl ToGlib for Id
[src]

impl FromGlib<u32> for Id
[src]