[][src]Struct web_sys::GpuQueue

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

The GpuQueue class.

MDN Documentation

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

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

Methods

impl GpuQueue[src]

pub fn label(&self) -> Option<String>[src]

Getter for the label field of this object.

MDN Documentation

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

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

impl GpuQueue[src]

pub fn set_label(&self, value: Option<&str>)[src]

Setter for the label field of this object.

MDN Documentation

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

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

impl GpuQueue[src]

pub fn copy_image_bitmap_to_texture_with_u32_sequence(
    &self,
    source: &GpuImageBitmapCopyView,
    destination: &GpuTextureCopyView,
    copy_size: &JsValue
)
[src]

The copyImageBitmapToTexture() method.

MDN Documentation

This API requires the following crate features to be activated: GpuImageBitmapCopyView, GpuQueue, GpuTextureCopyView

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

impl GpuQueue[src]

pub fn copy_image_bitmap_to_texture_with_gpu_extent_3d_dict(
    &self,
    source: &GpuImageBitmapCopyView,
    destination: &GpuTextureCopyView,
    copy_size: &GpuExtent3dDict
)
[src]

The copyImageBitmapToTexture() method.

MDN Documentation

This API requires the following crate features to be activated: GpuExtent3dDict, GpuImageBitmapCopyView, GpuQueue, GpuTextureCopyView

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

impl GpuQueue[src]

pub fn create_fence(&self) -> GpuFence[src]

The createFence() method.

MDN Documentation

This API requires the following crate features to be activated: GpuFence, GpuQueue

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

impl GpuQueue[src]

pub fn create_fence_with_descriptor(
    &self,
    descriptor: &GpuFenceDescriptor
) -> GpuFence
[src]

The createFence() method.

MDN Documentation

This API requires the following crate features to be activated: GpuFence, GpuFenceDescriptor, GpuQueue

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

impl GpuQueue[src]

pub fn signal_with_u32(&self, fence: &GpuFence, signal_value: u32)[src]

The signal() method.

MDN Documentation

This API requires the following crate features to be activated: GpuFence, GpuQueue

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

impl GpuQueue[src]

pub fn signal_with_f64(&self, fence: &GpuFence, signal_value: f64)[src]

The signal() method.

MDN Documentation

This API requires the following crate features to be activated: GpuFence, GpuQueue

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

impl GpuQueue[src]

pub fn submit(&self, command_buffers: &JsValue)[src]

The submit() method.

MDN Documentation

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

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<GpuQueue> for GpuQueue[src]

impl AsRef<JsValue> for GpuQueue[src]

impl AsRef<Object> for GpuQueue[src]

impl Clone for GpuQueue[src]

impl Debug for GpuQueue[src]

impl Deref for GpuQueue[src]

type Target = Object

The resulting type after dereferencing.

impl Eq for GpuQueue[src]

impl From<GpuQueue> for JsValue[src]

impl From<GpuQueue> for Object[src]

impl From<JsValue> for GpuQueue[src]

impl FromWasmAbi for GpuQueue[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 GpuQueue[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 GpuQueue[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 GpuQueue[src]

impl OptionFromWasmAbi for GpuQueue[src]

impl OptionIntoWasmAbi for GpuQueue[src]

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

impl PartialEq<GpuQueue> for GpuQueue[src]

impl RefFromWasmAbi for GpuQueue[src]

type Abi = <JsValue as RefFromWasmAbi>::Abi

The wasm ABI type references to Self are recovered from.

type Anchor = ManuallyDrop<GpuQueue>

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 GpuQueue[src]

impl StructuralPartialEq for GpuQueue[src]

impl WasmDescribe for GpuQueue[src]

Auto Trait Implementations

impl RefUnwindSafe for GpuQueue

impl !Send for GpuQueue

impl !Sync for GpuQueue

impl Unpin for GpuQueue

impl UnwindSafe for GpuQueue

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.