Enum web_sys::WebGpuObjectStatus
source · pub enum WebGpuObjectStatus {
Valid,
OutOfMemory,
Invalid,
// some variants omitted
}
Variants§
Implementations§
source§impl WebGpuObjectStatus
impl WebGpuObjectStatus
pub fn from_js_value(obj: &JsValue) -> Option<WebGpuObjectStatus>
Trait Implementations§
source§impl Clone for WebGpuObjectStatus
impl Clone for WebGpuObjectStatus
source§fn clone(&self) -> WebGpuObjectStatus
fn clone(&self) -> WebGpuObjectStatus
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 WebGpuObjectStatus
impl Debug for WebGpuObjectStatus
source§impl From<WebGpuObjectStatus> for JsValue
impl From<WebGpuObjectStatus> for JsValue
source§fn from(obj: WebGpuObjectStatus) -> JsValue
fn from(obj: WebGpuObjectStatus) -> JsValue
Converts to this type from the input type.
source§impl FromWasmAbi for WebGpuObjectStatus
impl FromWasmAbi for WebGpuObjectStatus
source§impl IntoWasmAbi for WebGpuObjectStatus
impl IntoWasmAbi for WebGpuObjectStatus
source§impl PartialEq<WebGpuObjectStatus> for WebGpuObjectStatus
impl PartialEq<WebGpuObjectStatus> for WebGpuObjectStatus
source§fn eq(&self, other: &WebGpuObjectStatus) -> bool
fn eq(&self, other: &WebGpuObjectStatus) -> bool
impl Copy for WebGpuObjectStatus
impl StructuralPartialEq for WebGpuObjectStatus
Auto Trait Implementations§
impl RefUnwindSafe for WebGpuObjectStatus
impl Send for WebGpuObjectStatus
impl Sync for WebGpuObjectStatus
impl Unpin for WebGpuObjectStatus
impl UnwindSafe for WebGpuObjectStatus
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, extra: &mut dyn Stack) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self, extra: &mut dyn Stack) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi
, except that it may throw and never
return in the case of Err
. Read more