Struct glib::Source [−][src]
Implementations
impl Source[src]
pub fn add_child_source(&self, child_source: &Source)[src]
pub fn destroy(&self)[src]
pub fn get_can_recurse(&self) -> bool[src]
pub fn get_context(&self) -> Option<MainContext>[src]
pub fn get_name(&self) -> Option<GString>[src]
pub fn get_priority(&self) -> i32[src]
pub fn get_ready_time(&self) -> i64[src]
pub fn get_time(&self) -> i64[src]
pub fn is_destroyed(&self) -> bool[src]
pub fn remove_child_source(&self, child_source: &Source)[src]
impl Source[src]
pub fn attach<'a, P: Into<Option<&'a MainContext>>>(
&self,
context: P
) -> SourceId[src]
&self,
context: P
) -> SourceId
pub fn remove(tag: SourceId) -> Result<(), BoolError>[src]
Trait Implementations
impl Clone for Source[src]
impl Debug for Source[src]
impl Eq for Source[src]
impl Hash for Source[src]
fn hash<__H: Hasher>(&self, state: &mut __H)[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
impl Ord for Source[src]
fn cmp(&self, other: &Source) -> Ordering[src]
#[must_use]pub fn max(self, other: Self) -> Self1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self1.50.0[src]
impl PartialEq<Source> for Source[src]
impl PartialOrd<Source> for Source[src]
fn partial_cmp(&self, other: &Source) -> Option<Ordering>[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]pub fn le(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]pub fn gt(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]pub fn ge(&self, other: &Rhs) -> bool1.0.0[src]
impl Send for Source[src]
impl StaticType for Source[src]
fn static_type() -> Type[src]
impl StructuralEq for Source[src]
impl StructuralPartialEq for Source[src]
impl Sync for Source[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T> ToSendValue for T where
T: SetValue + Send + ToValue + ?Sized, [src]
T: SetValue + Send + ToValue + ?Sized,
pub fn to_send_value(&Self) -> SendValue[src]
impl<T> ToValue for T where
T: SetValue + ?Sized, [src]
T: SetValue + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,