[][src]Struct web_sys::WebGpuTextureUsage

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

The WebGPUTextureUsage object

MDN Documentation

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

Methods

impl WebGpuTextureUsage[src]

pub const NONE: u32[src]

impl WebGpuTextureUsage[src]

pub const TRANSFER_SRC: u32[src]

impl WebGpuTextureUsage[src]

pub const TRANSFER_DST: u32[src]

impl WebGpuTextureUsage[src]

pub const SAMPLED: u32[src]

impl WebGpuTextureUsage[src]

pub const STORAGE: u32[src]

impl WebGpuTextureUsage[src]

pub const OUTPUT_ATTACHMENT: u32[src]

impl WebGpuTextureUsage[src]

pub const PRESENT: u32[src]

Trait Implementations

impl AsRef<JsValue> for WebGpuTextureUsage[src]

impl AsRef<Object> for WebGpuTextureUsage[src]

impl AsRef<WebGpuTextureUsage> for WebGpuTextureUsage[src]

impl Clone for WebGpuTextureUsage[src]

impl Debug for WebGpuTextureUsage[src]

impl Deref for WebGpuTextureUsage[src]

type Target = Object

The resulting type after dereferencing.

impl Eq for WebGpuTextureUsage[src]

impl From<JsValue> for WebGpuTextureUsage[src]

impl From<WebGpuTextureUsage> for JsValue[src]

impl From<WebGpuTextureUsage> for Object[src]

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

impl OptionFromWasmAbi for WebGpuTextureUsage[src]

impl OptionIntoWasmAbi for WebGpuTextureUsage[src]

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

impl PartialEq<WebGpuTextureUsage> for WebGpuTextureUsage[src]

impl RefFromWasmAbi for WebGpuTextureUsage[src]

type Abi = <JsValue as RefFromWasmAbi>::Abi

The wasm ABI type references to Self are recovered from.

type Anchor = ManuallyDrop<WebGpuTextureUsage>

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

impl StructuralPartialEq for WebGpuTextureUsage[src]

impl WasmDescribe for WebGpuTextureUsage[src]

Auto Trait Implementations

impl RefUnwindSafe for WebGpuTextureUsage

impl !Send for WebGpuTextureUsage

impl !Sync for WebGpuTextureUsage

impl Unpin for WebGpuTextureUsage

impl UnwindSafe for WebGpuTextureUsage

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.