Struct glib::SyncSender
source · pub struct SyncSender<T>(_);
Expand description
A SyncSender
that can be used to send items to the corresponding main context receiver.
This SyncSender
behaves the same as std::sync::mpsc::SyncSender
.
See MainContext::sync_channel()
for how to create such a SyncSender
.
Implementations§
Trait Implementations§
source§impl<T> Clone for SyncSender<T>
impl<T> Clone for SyncSender<T>
source§fn clone(&self) -> SyncSender<T>
fn clone(&self) -> SyncSender<T>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more