Struct druid::piet::cairo::glib::SyncSender
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§
§impl<T> SyncSender<T>
impl<T> SyncSender<T>
Trait Implementations§
§impl<T> Clone for SyncSender<T>
impl<T> Clone for SyncSender<T>
§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§impl<T> Debug for SyncSender<T>
impl<T> Debug for SyncSender<T>
impl<T> Send for SyncSender<T>where T: Send,
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§
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
§impl<T> RoundFrom<T> for T
impl<T> RoundFrom<T> for T
§fn round_from(x: T) -> T
fn round_from(x: T) -> T
Performs the conversion.
§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere U: RoundFrom<T>,
§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.