[][src]Struct web_sys::WebGpuBinding

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

The WebGPUBinding dictionary

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

Methods

impl WebGpuBinding[src]

pub fn new() -> WebGpuBinding[src]

Construct a new WebGPUBinding

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

pub fn count(&mut self, val: u32) -> &mut Self[src]

Configure the count field of this object

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

pub fn resources(&mut self, val: &JsValue) -> &mut Self[src]

Configure the resources field of this object

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

pub fn start(&mut self, val: u32) -> &mut Self[src]

Configure the start field of this object

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

Trait Implementations

impl AsRef<JsValue> for WebGpuBinding[src]

impl From<WebGpuBinding> for JsValue[src]

impl Clone for WebGpuBinding[src]

impl Debug for WebGpuBinding[src]

impl JsCast for WebGpuBinding[src]

impl RefFromWasmAbi for WebGpuBinding[src]

type Abi = <Object as RefFromWasmAbi>::Abi

The wasm ABI type references to Self are recovered from.

type Anchor = ManuallyDrop<WebGpuBinding>

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

type Abi = <Object as FromWasmAbi>::Abi

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

impl IntoWasmAbi for WebGpuBinding[src]

type Abi = <Object as IntoWasmAbi>::Abi

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

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

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

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

impl WasmDescribe for WebGpuBinding[src]

impl OptionFromWasmAbi for WebGpuBinding[src]

impl OptionIntoWasmAbi for WebGpuBinding[src]

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

Auto Trait Implementations

Blanket Implementations

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

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

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.

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

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

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

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

type Abi = <T as IntoWasmAbi>::Abi

Same as IntoWasmAbi::Abi