[][src]Struct web_sys::GpuStencilStateFaceDescriptor

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

The GpuStencilStateFaceDescriptor dictionary.

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

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

Methods

impl GpuStencilStateFaceDescriptor[src]

pub fn new() -> Self[src]

Construct a new GpuStencilStateFaceDescriptor.

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

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

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

Change the compare field of this object.

This API requires the following crate features to be activated: GpuCompareFunction, GpuStencilStateFaceDescriptor

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

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

Change the depthFailOp field of this object.

This API requires the following crate features to be activated: GpuStencilOperation, GpuStencilStateFaceDescriptor

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

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

Change the failOp field of this object.

This API requires the following crate features to be activated: GpuStencilOperation, GpuStencilStateFaceDescriptor

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

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

Change the passOp field of this object.

This API requires the following crate features to be activated: GpuStencilOperation, GpuStencilStateFaceDescriptor

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

impl AsRef<JsValue> for GpuStencilStateFaceDescriptor[src]

impl AsRef<Object> for GpuStencilStateFaceDescriptor[src]

impl Clone for GpuStencilStateFaceDescriptor[src]

impl Debug for GpuStencilStateFaceDescriptor[src]

impl Deref for GpuStencilStateFaceDescriptor[src]

type Target = Object

The resulting type after dereferencing.

impl Eq for GpuStencilStateFaceDescriptor[src]

impl From<GpuStencilStateFaceDescriptor> for JsValue[src]

impl From<GpuStencilStateFaceDescriptor> for Object[src]

impl From<JsValue> for GpuStencilStateFaceDescriptor[src]

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

impl OptionFromWasmAbi for GpuStencilStateFaceDescriptor[src]

impl OptionIntoWasmAbi for GpuStencilStateFaceDescriptor[src]

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

impl PartialEq<GpuStencilStateFaceDescriptor> for GpuStencilStateFaceDescriptor[src]

impl RefFromWasmAbi for GpuStencilStateFaceDescriptor[src]

type Abi = <JsValue as RefFromWasmAbi>::Abi

The wasm ABI type references to Self are recovered from.

type Anchor = ManuallyDrop<GpuStencilStateFaceDescriptor>

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

impl StructuralPartialEq for GpuStencilStateFaceDescriptor[src]

impl WasmDescribe for GpuStencilStateFaceDescriptor[src]

Auto Trait Implementations

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.