Struct glib::source::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 SourceId
[src]
fn clone(&self) -> SourceId
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for SourceId
[src]
impl Debug for SourceId
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Default for SourceId
[src]
impl Eq for SourceId
[src]
impl PartialEq for SourceId
[src]
fn eq(&self, __arg_0: &SourceId) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &SourceId) -> bool
[src]
This method tests for !=
.