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

pub struct GlBackendSpec { /* fields omitted */ }

A backend specification for OpenGL. This is different from 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 asks for in the config, and what the graphics backend code actually gets from the driver.

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

Trait Implementations

impl BackendSpec for GlBackendSpec[src]

type Resources = Resources

gfx resource type

type Factory = Factory

gfx factory type

type CommandBuffer = CommandBuffer

gfx command buffer type

type Device = Device

gfx device type

impl Clone for GlBackendSpec[src]

impl Copy for GlBackendSpec[src]

impl Debug for GlBackendSpec[src]

impl Default for GlBackendSpec[src]

pub fn default() -> Self[src]

Return GlBackendSpec { major: 3, minor: 2, api: glutin :: Api :: OpenGl }

impl Eq for GlBackendSpec[src]

impl From<Backend> for GlBackendSpec[src]

impl PartialEq<GlBackendSpec> for GlBackendSpec[src]

impl StructuralEq for GlBackendSpec[src]

impl StructuralPartialEq for GlBackendSpec[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,