Trait cosmic::iced_winit::graphics::futures::MaybeSync

source ·
pub trait MaybeSync: Sync { }
Expand description

An extension trait that enforces Sync only on native platforms.

Useful for writing cross-platform async code!

Implementors§

source§

impl<T> MaybeSync for T
where T: Sync,