pub struct GLFormats {
    pub color_renderbuffer: GLenum,
    pub texture_internal: GLenum,
    pub texture: GLenum,
    pub texture_type: GLenum,
    pub depth: GLenum,
    pub stencil: GLenum,
    pub packed_depth_stencil: bool,
}
Expand description

This structure is here to allow cross-platform formatting

Fields§

§color_renderbuffer: GLenum§texture_internal: GLenum§texture: GLenum§texture_type: GLenum§depth: GLenum§stencil: GLenum§packed_depth_stencil: bool

Implementations§

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.