Enum web_sys::WebGpuLogEntryType
source · pub enum WebGpuLogEntryType {
DeviceLost,
ValidationError,
RecoverableOutOfMemory,
// some variants omitted
}
Variants§
Implementations§
source§impl WebGpuLogEntryType
impl WebGpuLogEntryType
pub fn from_js_value(obj: &JsValue) -> Option<WebGpuLogEntryType>
Trait Implementations§
source§impl Clone for WebGpuLogEntryType
impl Clone for WebGpuLogEntryType
source§fn clone(&self) -> WebGpuLogEntryType
fn clone(&self) -> WebGpuLogEntryType
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 WebGpuLogEntryType
impl Debug for WebGpuLogEntryType
source§impl From<WebGpuLogEntryType> for JsValue
impl From<WebGpuLogEntryType> for JsValue
source§fn from(obj: WebGpuLogEntryType) -> JsValue
fn from(obj: WebGpuLogEntryType) -> JsValue
Converts to this type from the input type.
source§impl FromWasmAbi for WebGpuLogEntryType
impl FromWasmAbi for WebGpuLogEntryType
source§impl IntoWasmAbi for WebGpuLogEntryType
impl IntoWasmAbi for WebGpuLogEntryType
source§impl PartialEq<WebGpuLogEntryType> for WebGpuLogEntryType
impl PartialEq<WebGpuLogEntryType> for WebGpuLogEntryType
source§fn eq(&self, other: &WebGpuLogEntryType) -> bool
fn eq(&self, other: &WebGpuLogEntryType) -> bool
impl Copy for WebGpuLogEntryType
impl StructuralPartialEq for WebGpuLogEntryType
Auto Trait Implementations§
impl RefUnwindSafe for WebGpuLogEntryType
impl Send for WebGpuLogEntryType
impl Sync for WebGpuLogEntryType
impl Unpin for WebGpuLogEntryType
impl UnwindSafe for WebGpuLogEntryType
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