Enum web_sys::GpuStoreOp
source · [−]pub enum GpuStoreOp {
Store,
Discard,
// some variants omitted
}
Expand description
The GpuStoreOp
enum.
This API requires the following crate features to be activated: GpuStoreOp
This API is unstable and requires --cfg=web_sys_unstable_apis
to be activated, as
described in the wasm-bindgen
guide
Variants
Store
Discard
Implementations
sourceimpl GpuStoreOp
impl GpuStoreOp
pub fn from_js_value(obj: &JsValue) -> Option<GpuStoreOp>
Trait Implementations
sourceimpl Clone for GpuStoreOp
impl Clone for GpuStoreOp
sourcefn clone(&self) -> GpuStoreOp
fn clone(&self) -> GpuStoreOp
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for GpuStoreOp
impl Debug for GpuStoreOp
sourceimpl From<GpuStoreOp> for JsValue
impl From<GpuStoreOp> for JsValue
sourcefn from(obj: GpuStoreOp) -> JsValue
fn from(obj: GpuStoreOp) -> JsValue
Converts to this type from the input type.
sourceimpl FromWasmAbi for GpuStoreOp
impl FromWasmAbi for GpuStoreOp
sourceimpl IntoWasmAbi for GpuStoreOp
impl IntoWasmAbi for GpuStoreOp
sourceimpl OptionFromWasmAbi for GpuStoreOp
impl OptionFromWasmAbi for GpuStoreOp
sourceimpl OptionIntoWasmAbi for GpuStoreOp
impl OptionIntoWasmAbi for GpuStoreOp
sourceimpl PartialEq<GpuStoreOp> for GpuStoreOp
impl PartialEq<GpuStoreOp> for GpuStoreOp
sourceimpl WasmDescribe for GpuStoreOp
impl WasmDescribe for GpuStoreOp
impl Copy for GpuStoreOp
impl Eq for GpuStoreOp
impl StructuralEq for GpuStoreOp
impl StructuralPartialEq for GpuStoreOp
Auto Trait Implementations
impl RefUnwindSafe for GpuStoreOp
impl Send for GpuStoreOp
impl Sync for GpuStoreOp
impl Unpin for GpuStoreOp
impl UnwindSafe for GpuStoreOp
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ReturnWasmAbi for T where
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for T where
T: IntoWasmAbi,
type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as IntoWasmAbi::Abi
sourcefn 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
. Read more