Enum mozjs::jsapi::RuntimeCode
source · #[repr(i32)]pub enum RuntimeCode {
JS,
WASM,
}
Variants§
Trait Implementations§
source§impl Clone for RuntimeCode
impl Clone for RuntimeCode
source§fn clone(&self) -> RuntimeCode
fn clone(&self) -> RuntimeCode
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 RuntimeCode
impl Debug for RuntimeCode
source§impl Hash for RuntimeCode
impl Hash for RuntimeCode
source§impl PartialEq<RuntimeCode> for RuntimeCode
impl PartialEq<RuntimeCode> for RuntimeCode
source§fn eq(&self, other: &RuntimeCode) -> bool
fn eq(&self, other: &RuntimeCode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for RuntimeCode
impl Eq for RuntimeCode
impl StructuralEq for RuntimeCode
impl StructuralPartialEq for RuntimeCode
Auto Trait Implementations§
impl RefUnwindSafe for RuntimeCode
impl Send for RuntimeCode
impl Sync for RuntimeCode
impl Unpin for RuntimeCode
impl UnwindSafe for RuntimeCode
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more