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
alpha: c_int
depth: c_int
stencil: c_int
antialias: c_int
premultipliedAlpha: c_int
preserveDrawingBuffer: c_int
preferLowPowerToHighPerformance: c_int
failIfMajorPerformanceCaveat: c_int
majorVersion: c_int
minorVersion: c_int
enableExtensionsByDefault: c_int
explicitSwapControl: c_int
Trait Implementations
impl Debug for EmscriptenWebGLContextAttributes
[src]
impl Copy for EmscriptenWebGLContextAttributes
[src]
impl Clone for EmscriptenWebGLContextAttributes
[src]
fn clone(&self) -> Self
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