aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib.rs
diff options
context:
space:
mode:
authortomaka <pierre.krieger1708@gmail.com>2015-04-03 19:18:14 +0200
committertomaka <pierre.krieger1708@gmail.com>2015-04-03 19:18:14 +0200
commit36c927c7a4559f0ef9ff2395e02ee3eb1ad41dfc (patch)
treed82e8f05a783253e4ed1935937f4c5875bc2e85e /src/lib.rs
parent424cc5ea4909e9e57a1d14b6ad6a397e992ab6fb (diff)
parentb99309bee20a23d118a3b58a8f73d28a62778c84 (diff)
downloadglutin-36c927c7a4559f0ef9ff2395e02ee3eb1ad41dfc.tar.gz
glutin-36c927c7a4559f0ef9ff2395e02ee3eb1ad41dfc.zip
Merge pull request #356 from tomaka/rustup
Remove deprecated functions
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 1e10768..4de2f44 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -142,7 +142,7 @@ pub enum GlRequest {
},
}
-#[derive(Debug, Copy)]
+#[derive(Debug, Copy, Clone)]
pub enum MouseCursor {
/// The platform-dependent default cursor.
Default,
@@ -199,7 +199,7 @@ pub enum MouseCursor {
}
/// Describes how glutin handles the cursor.
-#[derive(Debug, Copy)]
+#[derive(Debug, Copy, Clone)]
pub enum CursorState {
/// Normal cursor behavior.
Normal,