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

The company responsible for the OpenGL implementation

renderer

The name of the renderer

Trait Implementations

Derived Implementations

impl Debug for PlatformName

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

impl PartialEq for PlatformName

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

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

impl Eq for PlatformName

impl Clone for PlatformName

fn clone(&self) -> PlatformName

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

impl Copy for PlatformName