pub struct WebGLContextAttributes { /* private fields */ }
Trait Implementations§
Source§impl Clone for WebGLContextAttributes
impl Clone for WebGLContextAttributes
Source§fn clone(&self) -> WebGLContextAttributes
fn clone(&self) -> WebGLContextAttributes
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for WebGLContextAttributes
impl Debug for WebGLContextAttributes
Source§impl<'de> Deserialize<'de> for WebGLContextAttributes
impl<'de> Deserialize<'de> for WebGLContextAttributes
Source§fn 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
Source§impl Serialize for WebGLContextAttributes
impl Serialize for WebGLContextAttributes
Source§impl<'_a> TryFrom<&'_a WebGLContextAttributes> for Value
impl<'_a> TryFrom<&'_a WebGLContextAttributes> for Value
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl<'_a> TryFrom<&'_a mut WebGLContextAttributes> for Value
impl<'_a> TryFrom<&'_a mut WebGLContextAttributes> for Value
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<Value> for WebGLContextAttributes
impl TryFrom<Value> for WebGLContextAttributes
Source§impl TryFrom<WebGLContextAttributes> for Value
impl TryFrom<WebGLContextAttributes> for Value
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
impl JsSerialize for WebGLContextAttributes
Auto Trait Implementations§
impl Freeze for WebGLContextAttributes
impl RefUnwindSafe for WebGLContextAttributes
impl Send for WebGLContextAttributes
impl Sync for WebGLContextAttributes
impl Unpin for WebGLContextAttributes
impl UnwindSafe for WebGLContextAttributes
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more