browser-window 0.12.3

A simple, optionally async, optionally threadsafe, electron-like browser toolkit for Rust.
Documentation
1
2
3
4
5
6
7
8
#[cfg(not(feature = "threadsafe"))]
pub(crate) type Weak<T> = std::rc::Weak<T>;
#[cfg(feature = "threadsafe")]
pub(crate) type Weak<T> = std::sync::Weak<T>;
#[cfg(not(feature = "threadsafe"))]
pub(crate) type Rc<T> = std::rc::Rc<T>;
#[cfg(feature = "threadsafe")]
pub(crate) type Rc<T> = std::sync::Arc<T>;