aboutsummaryrefslogtreecommitdiffstats
path: root/src/headless.rs
diff options
context:
space:
mode:
authortomaka <pierre.krieger1708@gmail.com>2016-05-23 08:48:09 +0200
committertomaka <pierre.krieger1708@gmail.com>2016-05-23 08:48:09 +0200
commite796a2e01841dcd55e1633bf4d13e993eb547876 (patch)
treef67c9d09ace81e83f6c2838569888e277aa9df32 /src/headless.rs
parentcf02e7f1f44eebaaee939b8267b9457094d9bc6b (diff)
parente0f36b80c9bf29bbf3306a617614f6913b705a10 (diff)
downloadglutin-e796a2e01841dcd55e1633bf4d13e993eb547876.tar.gz
glutin-e796a2e01841dcd55e1633bf4d13e993eb547876.zip
Merge pull request #780 from jansegre/impl-clone-builders
Make `WindowBuilder` and `HeadlessRendererBuilder` derive `Clone`.
Diffstat (limited to 'src/headless.rs')
-rw-r--r--src/headless.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/headless.rs b/src/headless.rs
index 8ea4141..31a9f5e 100644
--- a/src/headless.rs
+++ b/src/headless.rs
@@ -11,6 +11,7 @@ use Robustness;
use platform;
/// Object that allows you to build headless contexts.
+#[derive(Clone)]
pub struct HeadlessRendererBuilder<'a> {
/// The dimensions to use.
pub dimensions: (u32, u32),