[][src]Struct web_sys::WebGpuBufferUsage

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

The WebGPUBufferUsage object

MDN Documentation

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

Methods

impl WebGpuBufferUsage[src]

pub const NONE: u32[src]

impl WebGpuBufferUsage[src]

pub const MAP_READ: u32[src]

impl WebGpuBufferUsage[src]

pub const MAP_WRITE: u32[src]

impl WebGpuBufferUsage[src]

pub const TRANSFER_SRC: u32[src]

impl WebGpuBufferUsage[src]

pub const TRANSFER_DST: u32[src]

impl WebGpuBufferUsage[src]

pub const INDEX: u32[src]

impl WebGpuBufferUsage[src]

pub const VERTEX: u32[src]

impl WebGpuBufferUsage[src]

pub const UNIFORM: u32[src]

impl WebGpuBufferUsage[src]

pub const STORAGE: u32[src]

Trait Implementations

impl AsRef<JsValue> for WebGpuBufferUsage[src]

impl AsRef<Object> for WebGpuBufferUsage[src]

impl AsRef<WebGpuBufferUsage> for WebGpuBufferUsage[src]

impl Clone for WebGpuBufferUsage[src]

impl Debug for WebGpuBufferUsage[src]

impl Deref for WebGpuBufferUsage[src]

type Target = Object

The resulting type after dereferencing.

impl Eq for WebGpuBufferUsage[src]

impl From<JsValue> for WebGpuBufferUsage[src]

impl From<WebGpuBufferUsage> for JsValue[src]

impl From<WebGpuBufferUsage> for Object[src]

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

impl OptionFromWasmAbi for WebGpuBufferUsage[src]

impl OptionIntoWasmAbi for WebGpuBufferUsage[src]

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

impl PartialEq<WebGpuBufferUsage> for WebGpuBufferUsage[src]

impl RefFromWasmAbi for WebGpuBufferUsage[src]

type Abi = <JsValue as RefFromWasmAbi>::Abi

The wasm ABI type references to Self are recovered from.

type Anchor = ManuallyDrop<WebGpuBufferUsage>

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

impl StructuralPartialEq for WebGpuBufferUsage[src]

impl WasmDescribe for WebGpuBufferUsage[src]

Auto Trait Implementations

impl RefUnwindSafe for WebGpuBufferUsage

impl !Send for WebGpuBufferUsage

impl !Sync for WebGpuBufferUsage

impl Unpin for WebGpuBufferUsage

impl UnwindSafe for WebGpuBufferUsage

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.