aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib.rs
diff options
context:
space:
mode:
authorJan Segre <jan@segre.in>2016-05-23 03:17:31 -0300
committerJan Segre <jan@segre.in>2016-05-23 03:17:31 -0300
commite0f36b80c9bf29bbf3306a617614f6913b705a10 (patch)
treef67c9d09ace81e83f6c2838569888e277aa9df32 /src/lib.rs
parentcf02e7f1f44eebaaee939b8267b9457094d9bc6b (diff)
downloadglutin-e0f36b80c9bf29bbf3306a617614f6913b705a10.tar.gz
glutin-e0f36b80c9bf29bbf3306a617614f6913b705a10.zip
Make `WindowBuilder` and `HeadlessRendererBuilder` derive `Clone`.
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index ff5d52e..a10957d 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -106,6 +106,7 @@ pub struct Window {
}
/// Object that allows you to build windows.
+#[derive(Clone)]
pub struct WindowBuilder<'a> {
/// The attributes to use to create the window.
pub window: WindowAttributes,