Struct ggez::graphics::GlBackendSpec [] [src]

pub struct GlBackendSpec { /* fields omitted */ }

A backend specification for OpenGL. This is different from conf::Backend because this needs to be its own struct to implement traits upon, and because there may need to be a layer of translation between what the user specifies in the config, and what the graphics backend init code actually gets.

You shouldn't normally need to fiddle with this directly but it has to be exported cause generic types like Shader depend on it.

Trait Implementations

impl Debug for GlBackendSpec
[src]

[src]

Formats the value using the given formatter. Read more

impl Copy for GlBackendSpec
[src]

impl Clone for GlBackendSpec
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for GlBackendSpec
[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 GlBackendSpec
[src]

impl Default for GlBackendSpec
[src]

[src]

Return GlBackendSpec { major: 3, minor: 2 }

impl Hash for GlBackendSpec
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl From<Backend> for GlBackendSpec
[src]

[src]

Performs the conversion.

impl BackendSpec for GlBackendSpec
[src]

gfx resource type

gfx factory type

gfx command buffer type

gfx device type

Auto Trait Implementations

impl Send for GlBackendSpec

impl Sync for GlBackendSpec