Enum piston_window::OpenGL[][src]

pub enum OpenGL {
    V2_0,
    V2_1,
    V3_0,
    V3_1,
    V3_2,
    V3_3,
    V4_0,
    V4_1,
    V4_2,
    V4_3,
    V4_4,
    V4_5,
}

Variants

Methods

impl OpenGL
[src]

Gets the minor version of OpenGL.

Gets GLSL version associated with OpenGL.

Trait Implementations

impl PartialOrd<OpenGL> for OpenGL
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Clone for OpenGL
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Ord for OpenGL
[src]

This method returns an Ordering between self and other. Read more

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

impl Copy for OpenGL
[src]

impl Eq for OpenGL
[src]

impl PartialEq<OpenGL> for OpenGL
[src]

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

This method tests for !=.

impl FromStr for OpenGL
[src]

The associated error which can be returned from parsing.

Parses a string s to return a value of this type. Read more

impl Debug for OpenGL
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for OpenGL

impl Sync for OpenGL