Struct webgl_stdweb::WebGLContextAttributes
[−]
[src]
pub struct WebGLContextAttributes { /* fields omitted */ }
Trait Implementations
impl Debug for WebGLContextAttributes
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for WebGLContextAttributes
[src]
fn clone(&self) -> WebGLContextAttributes
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl TryFrom<Value> for WebGLContextAttributes
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>
Performs the conversion.
impl JsSerializeOwned for WebGLContextAttributes
fn into_js_owned<'_a>(
value: &'_a mut Option<Self>,
arena: &'_a PreallocatedArena
) -> SerializedValue<'_a>
value: &'_a mut Option<Self>,
arena: &'_a PreallocatedArena
) -> SerializedValue<'_a>
fn memory_required_owned(&self) -> usize
impl<'_r> JsSerializeOwned for &'_r WebGLContextAttributes
fn into_js_owned<'_a>(
value: &'_a mut Option<Self>,
arena: &'_a PreallocatedArena
) -> SerializedValue<'_a>
value: &'_a mut Option<Self>,
arena: &'_a PreallocatedArena
) -> SerializedValue<'_a>
fn memory_required_owned(&self) -> usize
impl JsSerialize for WebGLContextAttributes
fn _into_js<'x>(&'x self, arena: &'x PreallocatedArena) -> SerializedValue<'x>
fn _memory_required(&self) -> usize
impl TryFrom<WebGLContextAttributes> for Value
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: WebGLContextAttributes) -> Result<Self, Self::Error>
Performs the conversion.
impl<'_a> TryFrom<&'_a WebGLContextAttributes> for Value
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &'_a WebGLContextAttributes) -> Result<Self, Self::Error>
Performs the conversion.
impl<'_a> TryFrom<&'_a mut WebGLContextAttributes> for Value
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &'_a mut WebGLContextAttributes) -> Result<Self, Self::Error>
Performs the conversion.