Struct emscripten_sys::EmscriptenWebGLContextAttributes [] [src]

#[repr(C)]
pub struct EmscriptenWebGLContextAttributes { pub alpha: c_int, pub depth: c_int, pub stencil: c_int, pub antialias: c_int, pub premultipliedAlpha: c_int, pub preserveDrawingBuffer: c_int, pub preferLowPowerToHighPerformance: c_int, pub failIfMajorPerformanceCaveat: c_int, pub majorVersion: c_int, pub minorVersion: c_int, pub enableExtensionsByDefault: c_int, pub explicitSwapControl: c_int, }

Fields

Trait Implementations

impl Debug for EmscriptenWebGLContextAttributes
[src]

Formats the value using the given formatter.

impl Copy for EmscriptenWebGLContextAttributes
[src]

impl Clone for EmscriptenWebGLContextAttributes
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more