Enum web_sys::GpuCullMode
source · pub enum GpuCullMode {
None,
Front,
Back,
// some variants omitted
}
Expand description
The GpuCullMode
enum.
This API requires the following crate features to be activated: GpuCullMode
This API is unstable and requires --cfg=web_sys_unstable_apis
to be activated, as
described in the wasm-bindgen
guide
Variants§
Implementations§
source§impl GpuCullMode
impl GpuCullMode
pub fn from_js_value(obj: &JsValue) -> Option<GpuCullMode>
Trait Implementations§
source§impl Clone for GpuCullMode
impl Clone for GpuCullMode
source§fn clone(&self) -> GpuCullMode
fn clone(&self) -> GpuCullMode
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for GpuCullMode
impl Debug for GpuCullMode
source§impl From<GpuCullMode> for JsValue
impl From<GpuCullMode> for JsValue
source§fn from(obj: GpuCullMode) -> JsValue
fn from(obj: GpuCullMode) -> JsValue
Converts to this type from the input type.
source§impl FromWasmAbi for GpuCullMode
impl FromWasmAbi for GpuCullMode
source§impl IntoWasmAbi for GpuCullMode
impl IntoWasmAbi for GpuCullMode
source§impl OptionFromWasmAbi for GpuCullMode
impl OptionFromWasmAbi for GpuCullMode
source§impl OptionIntoWasmAbi for GpuCullMode
impl OptionIntoWasmAbi for GpuCullMode
source§impl PartialEq<GpuCullMode> for GpuCullMode
impl PartialEq<GpuCullMode> for GpuCullMode
source§fn eq(&self, other: &GpuCullMode) -> bool
fn eq(&self, other: &GpuCullMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for GpuCullMode
impl Eq for GpuCullMode
impl StructuralEq for GpuCullMode
impl StructuralPartialEq for GpuCullMode
Auto Trait Implementations§
impl RefUnwindSafe for GpuCullMode
impl Send for GpuCullMode
impl Sync for GpuCullMode
impl Unpin for GpuCullMode
impl UnwindSafe for GpuCullMode
Blanket Implementations§
source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::Abi
source§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi
, except that it may throw and never
return in the case of Err
.