Struct gfx_device_gl::PlatformName [] [src]

pub struct PlatformName {
    pub vendor: &'static str,
    pub renderer: &'static str,
}

A unique platform identifier that does not change between releases

Fields

vendor: &'static str

The company responsible for the OpenGL implementation

renderer: &'static str

The name of the renderer

Trait Implementations

impl Debug for PlatformName
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl PartialEq for PlatformName
[src]

fn eq(&self, __arg_0: &PlatformName) -> bool

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

fn ne(&self, __arg_0: &PlatformName) -> bool

This method tests for !=.

impl Eq for PlatformName
[src]

impl Clone for PlatformName
[src]

fn clone(&self) -> PlatformName

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Copy for PlatformName
[src]