mirror of
https://github.com/rust-windowing/winit.git
synced 2026-06-27 07:03:15 -04:00
Compare commits
1 Commits
v0.30.2
...
android-no
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1850131b97 |
@@ -57,8 +57,11 @@ use serde::{Deserialize, Serialize};
|
|||||||
///
|
///
|
||||||
/// ## Platform-specific
|
/// ## Platform-specific
|
||||||
///
|
///
|
||||||
/// **Web:** The [`Window`], which is represented by a `HTMLElementCanvas`, can
|
/// - **Web:** The window is represented by a `HTMLElementCanvas`, and cannot
|
||||||
/// not be closed by dropping the [`Window`].
|
/// currently be closed by dropping the [`Window`].
|
||||||
|
/// - **Android:** Each window is spawned inside its own process, and as such
|
||||||
|
/// Winit does not support multiple windows on Android. Create a new
|
||||||
|
/// activity instead.
|
||||||
pub struct Window {
|
pub struct Window {
|
||||||
pub(crate) window: platform_impl::Window,
|
pub(crate) window: platform_impl::Window,
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user