cosmic::iced_widget::renderer::graphics::futures

Trait 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,