Trait vizia_core::vg::ConditionallySend
pub trait ConditionallySend: Sized {
// Required methods
fn can_send(&self) -> bool;
fn wrap_send(self) -> Result<Sendable<Self>, Self>;
}
Required Methods§
Object Safety§
This trait is not object safe.
Implementors§
impl<H> ConditionallySend for RCHandle<H>where
H: NativeRefCountedBase,
RCHandle<H>
is conditionally Send and can be sent to
another thread when its reference count is 1.