[][src]Struct web_sys::GpuColorWrite

#[repr(transparent)]pub struct GpuColorWrite { /* fields omitted */ }

The GpuColorWrite class.

MDN Documentation

This API requires the following crate features to be activated: GpuColorWrite

This API is unstable and requires --cfg=web_sys_unstable_apis to be activated, as described in the wasm-bindgen guide

Implementations

impl GpuColorWrite[src]

pub const RED: u32[src]

The GPUColorWrite.RED const.

This API requires the following crate features to be activated: GpuColorWrite

This API is unstable and requires --cfg=web_sys_unstable_apis to be activated, as described in the wasm-bindgen guide

pub const GREEN: u32[src]

The GPUColorWrite.GREEN const.

This API requires the following crate features to be activated: GpuColorWrite

This API is unstable and requires --cfg=web_sys_unstable_apis to be activated, as described in the wasm-bindgen guide

pub const BLUE: u32[src]

The GPUColorWrite.BLUE const.

This API requires the following crate features to be activated: GpuColorWrite

This API is unstable and requires --cfg=web_sys_unstable_apis to be activated, as described in the wasm-bindgen guide

pub const ALPHA: u32[src]

The GPUColorWrite.ALPHA const.

This API requires the following crate features to be activated: GpuColorWrite

This API is unstable and requires --cfg=web_sys_unstable_apis to be activated, as described in the wasm-bindgen guide

pub const ALL: u32[src]

The GPUColorWrite.ALL const.

This API requires the following crate features to be activated: GpuColorWrite

This API is unstable and requires --cfg=web_sys_unstable_apis to be activated, as described in the wasm-bindgen guide

Trait Implementations

impl AsRef<GpuColorWrite> for GpuColorWrite[src]

impl AsRef<JsValue> for GpuColorWrite[src]

impl AsRef<Object> for GpuColorWrite[src]

impl Clone for GpuColorWrite[src]

impl Debug for GpuColorWrite[src]

impl Deref for GpuColorWrite[src]

type Target = Object

The resulting type after dereferencing.

impl Eq for GpuColorWrite[src]

impl From<GpuColorWrite> for JsValue[src]

impl From<GpuColorWrite> for Object[src]

impl From<JsValue> for GpuColorWrite[src]

impl FromWasmAbi for GpuColorWrite[src]

type Abi = <JsValue as FromWasmAbi>::Abi

The wasm ABI type that this converts from when coming back out from the ABI boundary. Read more

impl IntoWasmAbi for GpuColorWrite[src]

type Abi = <JsValue as IntoWasmAbi>::Abi

The wasm ABI type that this converts into when crossing the ABI boundary. Read more

impl<'a> IntoWasmAbi for &'a GpuColorWrite[src]

type Abi = <&'a JsValue as IntoWasmAbi>::Abi

The wasm ABI type that this converts into when crossing the ABI boundary. Read more

impl JsCast for GpuColorWrite[src]

impl OptionFromWasmAbi for GpuColorWrite[src]

impl OptionIntoWasmAbi for GpuColorWrite[src]

impl<'a> OptionIntoWasmAbi for &'a GpuColorWrite[src]

impl PartialEq<GpuColorWrite> for GpuColorWrite[src]

impl RefFromWasmAbi for GpuColorWrite[src]

type Abi = <JsValue as RefFromWasmAbi>::Abi

The wasm ABI type references to Self are recovered from.

type Anchor = ManuallyDrop<GpuColorWrite>

The type that holds the reference to Self for the duration of the invocation of the function that has an &Self parameter. This is required to ensure that the lifetimes don't persist beyond one function call, and so that they remain anonymous. Read more

impl StructuralEq for GpuColorWrite[src]

impl StructuralPartialEq for GpuColorWrite[src]

impl WasmDescribe for GpuColorWrite[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ReturnWasmAbi for T where
    T: IntoWasmAbi
[src]

type Abi = <T as IntoWasmAbi>::Abi

Same as IntoWasmAbi::Abi

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.