Enum ggez::conf::Backend [−][src]
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]
impl Debug for Backend
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Copy for Backend
[src]
impl Copy for Backend
impl Clone for Backend
[src]
impl Clone for Backend
fn clone(&self) -> Backend
[src]
fn clone(&self) -> Backend
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for Backend
[src]
impl PartialEq for Backend
fn eq(&self, other: &Backend) -> bool
[src]
fn eq(&self, other: &Backend) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Backend) -> bool
[src]
fn ne(&self, other: &Backend) -> bool
This method tests for !=
.
impl Eq for Backend
[src]
impl Eq for Backend
impl Default for Backend
[src]
impl Default for Backend
impl From<Backend> for GlBackendSpec
[src]
impl From<Backend> for GlBackendSpec