Struct glib::Source [−][src]
pub struct Source(_);
Methods
impl Source[src]
impl Sourcepub fn add_child_source(&self, child_source: &Source)[src]
pub fn add_child_source(&self, child_source: &Source)pub fn attach<'a, P: Into<Option<&'a MainContext>>>(&self, context: P) -> u32[src]
pub fn attach<'a, P: Into<Option<&'a MainContext>>>(&self, context: P) -> u32pub fn destroy(&self)[src]
pub fn destroy(&self)pub fn get_can_recurse(&self) -> bool[src]
pub fn get_can_recurse(&self) -> boolpub fn get_context(&self) -> Option<MainContext>[src]
pub fn get_context(&self) -> Option<MainContext>pub fn get_id(&self) -> u32[src]
pub fn get_id(&self) -> u32pub fn get_name(&self) -> Option<String>[src]
pub fn get_name(&self) -> Option<String>pub fn get_priority(&self) -> i32[src]
pub fn get_priority(&self) -> i32pub fn get_ready_time(&self) -> i64[src]
pub fn get_ready_time(&self) -> i64pub fn get_time(&self) -> i64[src]
pub fn get_time(&self) -> i64pub fn is_destroyed(&self) -> bool[src]
pub fn is_destroyed(&self) -> boolpub fn remove_child_source(&self, child_source: &Source)[src]
pub fn remove_child_source(&self, child_source: &Source)pub fn remove(tag: u32) -> bool[src]
pub fn remove(tag: u32) -> boolTrait Implementations
impl Debug for Source[src]
impl Debug for Sourcefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for Source[src]
impl PartialEq for Sourcefn eq(&self, other: &Source) -> bool[src]
fn eq(&self, other: &Source) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Source) -> bool[src]
fn ne(&self, other: &Source) -> boolThis method tests for !=.
impl Eq for Source[src]
impl Eq for Sourceimpl PartialOrd for Source[src]
impl PartialOrd for Sourcefn partial_cmp(&self, other: &Source) -> Option<Ordering>[src]
fn partial_cmp(&self, other: &Source) -> Option<Ordering>This method returns an ordering between self and other values if one exists. Read more
fn lt(&self, other: &Source) -> bool[src]
fn lt(&self, other: &Source) -> boolThis method tests less than (for self and other) and is used by the < operator. Read more
fn le(&self, other: &Source) -> bool[src]
fn le(&self, other: &Source) -> boolThis method tests less than or equal to (for self and other) and is used by the <= operator. Read more
fn gt(&self, other: &Source) -> bool[src]
fn gt(&self, other: &Source) -> boolThis method tests greater than (for self and other) and is used by the > operator. Read more
fn ge(&self, other: &Source) -> bool[src]
fn ge(&self, other: &Source) -> boolThis method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
impl Ord for Source[src]
impl Ord for Sourcefn cmp(&self, other: &Source) -> Ordering[src]
fn cmp(&self, other: &Source) -> OrderingThis method returns an Ordering between self and other. Read more
fn max(self, other: Self) -> Self1.21.0[src]
fn max(self, other: Self) -> SelfCompares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self1.21.0[src]
fn min(self, other: Self) -> SelfCompares and returns the minimum of two values. Read more
impl Hash for Source[src]
impl Hash for Sourcefn hash<__H: Hasher>(&self, state: &mut __H)[src]
fn hash<__H: Hasher>(&self, state: &mut __H)Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, Feeds a slice of this type into the given [Hasher]. Read more
impl Clone for Source[src]
impl Clone for Sourcefn clone(&self) -> Source[src]
fn clone(&self) -> SourceReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)Performs copy-assignment from source. Read more
impl StaticType for Source[src]
impl StaticType for Sourcefn static_type() -> Type[src]
fn static_type() -> TypeReturns the type identifier of Self.
impl Send for Source[src]
impl Send for Sourceimpl Sync for Source[src]
impl Sync for Source