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

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

OpenGL major version

OpenGL minor version

Trait Implementations

impl Debug for Backend
[src]

[src]

Formats the value using the given formatter. Read more

impl Copy for Backend
[src]

impl Clone for Backend
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for Backend
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for Backend
[src]

impl Default for Backend
[src]

[src]

Return Backend::OpenGL { major: 3, minor: 2 }

impl From<Backend> for GlBackendSpec
[src]

[src]

Performs the conversion.

Auto Trait Implementations

impl Send for Backend

impl Sync for Backend