Enum ggez::conf::Backend
[−]
[src]
pub enum Backend { OpenGL { major: u8, minor: u8, }, }
Possible backends. Currently, only OpenGL Core spec is supported, but this lets you specify the version numbers.
Variants
OpenGL
Defaults to OpenGL 3.2, which is supported by basically every machine since 2009 or so (apart from the ones that don't)
Fields of OpenGL
major: u8 | OpenGL major version |
minor: u8 | OpenGL minor version |
Trait Implementations
impl Debug for Backend
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Copy for Backend
[src]
impl Clone for Backend
[src]
fn clone(&self) -> Backend
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for Backend
[src]
fn eq(&self, __arg_0: &Backend) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Backend) -> bool
[src]
This method tests for !=
.