aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib.rs
diff options
context:
space:
mode:
authorPierre Krieger <pierre.krieger1708@gmail.com>2014-12-13 20:07:35 +0100
committerPierre Krieger <pierre.krieger1708@gmail.com>2014-12-13 20:07:35 +0100
commita79bc34807fc0bb991a8693f0d7271b17a7c6513 (patch)
tree12fb2328d35e30e73164887d492b05af38ffa4fa /src/lib.rs
parent230b0dd9ed27863daa8a6afefe7394ae4e6a38b9 (diff)
downloadglutin-a79bc34807fc0bb991a8693f0d7271b17a7c6513.tar.gz
glutin-a79bc34807fc0bb991a8693f0d7271b17a7c6513.zip
Update for Rustc
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 d5502a4..9ba3e13 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -83,6 +83,7 @@ impl std::error::Error for CreationError {
}
/// All APIs related to OpenGL that you can possibly get while using glutin.
+#[deriving(Show, Clone, Copy, PartialEq, Eq)]
pub enum Api {
/// The classical OpenGL. Available on Windows, Linux, OS/X.
OpenGl,