diff options
author | Jan Segre <jan@segre.in> | 2016-05-23 03:17:31 -0300 |
---|---|---|
committer | Jan Segre <jan@segre.in> | 2016-05-23 03:17:31 -0300 |
commit | e0f36b80c9bf29bbf3306a617614f6913b705a10 (patch) | |
tree | f67c9d09ace81e83f6c2838569888e277aa9df32 /src/platform/emscripten | |
parent | cf02e7f1f44eebaaee939b8267b9457094d9bc6b (diff) | |
download | glutin-e0f36b80c9bf29bbf3306a617614f6913b705a10.tar.gz glutin-e0f36b80c9bf29bbf3306a617614f6913b705a10.zip |
Make `WindowBuilder` and `HeadlessRendererBuilder` derive `Clone`.
Diffstat (limited to 'src/platform/emscripten')
-rw-r--r-- | src/platform/emscripten/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/platform/emscripten/mod.rs b/src/platform/emscripten/mod.rs index ce8d201..22cb565 100644 --- a/src/platform/emscripten/mod.rs +++ b/src/platform/emscripten/mod.rs @@ -58,7 +58,7 @@ impl GlContext for HeadlessContext { unsafe impl Send for HeadlessContext {} unsafe impl Sync for HeadlessContext {} -#[derive(Default)] +#[derive(Clone, Default)] pub struct PlatformSpecificWindowBuilderAttributes; -#[derive(Default)] +#[derive(Clone, Default)] pub struct PlatformSpecificHeadlessBuilderAttributes; |