[][src]Struct web_sys::WebGpuRenderPipelineDescriptor

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

The WebGPURenderPipelineDescriptor dictionary

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

Methods

impl WebGpuRenderPipelineDescriptor[src]

pub fn new(layout: &WebGpuPipelineLayout) -> WebGpuRenderPipelineDescriptor[src]

Construct a new WebGPURenderPipelineDescriptor

This API requires the following crate features to be activated: WebGpuAttachmentState, WebGpuDepthStencilState, WebGpuInputState, WebGpuPipelineLayout, WebGpuRenderPipelineDescriptor

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

Configure the layout field of this object

This API requires the following crate features to be activated: WebGpuPipelineLayout, WebGpuRenderPipelineDescriptor

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

Configure the stages field of this object

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

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

Configure the attachmentState field of this object

This API requires the following crate features to be activated: WebGpuAttachmentState, WebGpuRenderPipelineDescriptor

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

Configure the blendState field of this object

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

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

Configure the depthStencilState field of this object

This API requires the following crate features to be activated: WebGpuDepthStencilState, WebGpuRenderPipelineDescriptor

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

Configure the inputState field of this object

This API requires the following crate features to be activated: WebGpuInputState, WebGpuRenderPipelineDescriptor

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

Configure the primitiveTopology field of this object

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

Trait Implementations

impl AsRef<JsValue> for WebGpuRenderPipelineDescriptor[src]

impl Clone for WebGpuRenderPipelineDescriptor[src]

impl Debug for WebGpuRenderPipelineDescriptor[src]

impl From<WebGpuRenderPipelineDescriptor> for JsValue[src]

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

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

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

impl JsCast for WebGpuRenderPipelineDescriptor[src]

impl OptionFromWasmAbi for WebGpuRenderPipelineDescriptor[src]

impl OptionIntoWasmAbi for WebGpuRenderPipelineDescriptor[src]

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

impl RefFromWasmAbi for WebGpuRenderPipelineDescriptor[src]

type Abi = <Object as RefFromWasmAbi>::Abi

The wasm ABI type references to Self are recovered from.

type Anchor = ManuallyDrop<WebGpuRenderPipelineDescriptor>

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

Auto Trait Implementations

impl RefUnwindSafe for WebGpuRenderPipelineDescriptor

impl !Send for WebGpuRenderPipelineDescriptor

impl !Sync for WebGpuRenderPipelineDescriptor

impl Unpin for WebGpuRenderPipelineDescriptor

impl UnwindSafe for WebGpuRenderPipelineDescriptor

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.