pub struct SourceId(_);
Expand description
The id of a source that is returned by idle_add
and timeout_add
.
This type does not implement Clone
to prevent calling SourceId::remove
multiple times on the same source.
Implementations
Trait Implementations
sourceimpl PartialEq<SourceId> for SourceId
impl PartialEq<SourceId> for SourceId
impl Eq for SourceId
impl StructuralEq for SourceId
impl StructuralPartialEq for SourceId
Auto Trait Implementations
impl RefUnwindSafe for SourceId
impl Send for SourceId
impl Sync for SourceId
impl Unpin for SourceId
impl UnwindSafe for SourceId
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more