diff options
author | tomaka <pierre.krieger1708@gmail.com> | 2016-02-10 18:33:13 +0100 |
---|---|---|
committer | tomaka <pierre.krieger1708@gmail.com> | 2016-02-10 18:33:13 +0100 |
commit | c6c9ef4fca1e235572e34a6976df2482a14aae87 (patch) | |
tree | 6a16b4f7559cfb4504b7993df1a0d55632499c5e /src/os/windows.rs | |
parent | 86dd75f7e9b6078919387c356bca7dd1738d5777 (diff) | |
parent | ec76d991adc3522512f07935f78569dc4a9d089b (diff) | |
download | glutin-c6c9ef4fca1e235572e34a6976df2482a14aae87.tar.gz glutin-c6c9ef4fca1e235572e34a6976df2482a14aae87.zip |
Merge pull request #702 from tomaka/platform-specific
Unlocks platform-specific attributes
Diffstat (limited to 'src/os/windows.rs')
-rw-r--r-- | src/os/windows.rs | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/os/windows.rs b/src/os/windows.rs index e9ab056..02a76e2 100644 --- a/src/os/windows.rs +++ b/src/os/windows.rs @@ -2,8 +2,9 @@ use libc; use Window; +use WindowBuilder; -/// Additional methods on `Window` that are specific to unix. +/// Additional methods on `Window` that are specific to Windows. pub trait WindowExt { /// Returns a pointer to the `Window` object of xlib that is used by this window. /// @@ -19,3 +20,11 @@ impl WindowExt for Window { self.window.platform_window() } } + +/// Additional methods on `WindowBuilder` that are specific to Windows. +pub trait WindowBuilderExt { + +} + +impl<'a> WindowBuilderExt for WindowBuilder<'a> { +} |