pub struct WebGLContextAttributes { /* private fields */ }
Trait Implementations
sourceimpl Clone for WebGLContextAttributes
impl Clone for WebGLContextAttributes
sourcefn clone(&self) -> WebGLContextAttributes
fn clone(&self) -> WebGLContextAttributes
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for WebGLContextAttributes
impl Debug for WebGLContextAttributes
sourceimpl<'de> Deserialize<'de> for WebGLContextAttributes
impl<'de> Deserialize<'de> for WebGLContextAttributes
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Serialize for WebGLContextAttributes
impl Serialize for WebGLContextAttributes
sourceimpl<'_a> TryFrom<&'_a WebGLContextAttributes> for Value
impl<'_a> TryFrom<&'_a WebGLContextAttributes> for Value
type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
sourcefn try_from(value: &'_a WebGLContextAttributes) -> Result<Self, Self::Error>
fn try_from(value: &'_a WebGLContextAttributes) -> Result<Self, Self::Error>
Performs the conversion.
sourceimpl<'_a> TryFrom<&'_a mut WebGLContextAttributes> for Value
impl<'_a> TryFrom<&'_a mut WebGLContextAttributes> for Value
type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
sourcefn try_from(value: &'_a mut WebGLContextAttributes) -> Result<Self, Self::Error>
fn try_from(value: &'_a mut WebGLContextAttributes) -> Result<Self, Self::Error>
Performs the conversion.
sourceimpl TryFrom<Value> for WebGLContextAttributes
impl TryFrom<Value> for WebGLContextAttributes
sourceimpl TryFrom<WebGLContextAttributes> for Value
impl TryFrom<WebGLContextAttributes> for Value
type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
sourcefn try_from(value: WebGLContextAttributes) -> Result<Self, Self::Error>
fn try_from(value: WebGLContextAttributes) -> Result<Self, Self::Error>
Performs the conversion.
impl JsSerialize for WebGLContextAttributes
Auto Trait Implementations
impl RefUnwindSafe for WebGLContextAttributes
impl Send for WebGLContextAttributes
impl Sync for WebGLContextAttributes
impl Unpin for WebGLContextAttributes
impl UnwindSafe for WebGLContextAttributes
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more