docs.rs failed to build pistoncore-sdl2_window-0.6.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
pistoncore-sdl2_window-0.69.0
sdl2_window
An SDL2 back-end for the Piston game engine
Maintainers: @TyOverby, @bvssvni, @Coeuvre
Installation
To use this as a dependency, add the following code to your Cargo.toml file:
= "https://github.com/PistonDevelopers/sdl2_window"
git
How to create a window
let mut window = new;
How to set up Gfx
After you have created a window, do the following:
use Get;
let mut device = new;
let Size = window.get;
let frame = new;