Enum wasm_bindgen_test::__rt::detect::Runtime
source · pub enum Runtime {
Browser,
Node,
Worker,
}
Expand description
Current runtime environment
Variants§
Browser
Current scope is a browser scope
Node
Current scope is a node scope
Worker
Current scope is a worker scope
Auto Trait Implementations§
impl Freeze for Runtime
impl RefUnwindSafe for Runtime
impl Send for Runtime
impl Sync for Runtime
impl Unpin for Runtime
impl UnwindSafe for Runtime
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