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
sourceimpl<T> Clone for SyncSender<T>
impl<T> Clone for SyncSender<T>
sourcefn clone(&self) -> SyncSender<T>
fn clone(&self) -> SyncSender<T>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<T> Debug for SyncSender<T>
impl<T> Debug for SyncSender<T>
sourceimpl<T> Drop for SyncSender<T>
impl<T> Drop for SyncSender<T>
impl<T: Send> Send for SyncSender<T>
Auto Trait Implementations
impl<T> RefUnwindSafe for SyncSender<T>
impl<T> Sync for SyncSender<T> where
T: Send,
impl<T> Unpin for SyncSender<T>
impl<T> UnwindSafe for SyncSender<T>
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more