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/headless.rs | |
parent | cf02e7f1f44eebaaee939b8267b9457094d9bc6b (diff) | |
download | glutin-e0f36b80c9bf29bbf3306a617614f6913b705a10.tar.gz glutin-e0f36b80c9bf29bbf3306a617614f6913b705a10.zip |
Make `WindowBuilder` and `HeadlessRendererBuilder` derive `Clone`.
Diffstat (limited to 'src/headless.rs')
-rw-r--r-- | src/headless.rs | 1 |
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), |