Docs.rs
react-rs-1.0.0-alpha.2
react-rs 1.0.0-alpha.2
Docs.rs crate page
MIT
Links
crates.io
Source
Owners
EqualMa
Dependencies
convert-js ^1.0.0-alpha.14
normal
forgotten ^1
normal
frender-macros ^1.0.0-alpha.2
normal
js-sys ^0.3
normal
once_cell ^1.8
normal
react-sys ^1.0.0-alpha.20
normal
wasm-bindgen ^0.2.63
normal
web-sys ^0.3
normal
wasm-bindgen-test ^0.3
dev
Versions
3.45%
of the crate is documented
Go to latest stable release
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
☰
BorrowToJsRuntime
Required Methods
borrow_to_js_runtime
Implementations on Foreign Types
Box<T>
Rc<Closure<F>>
Rc<dyn Fn(T0) -> TR>
Implementors
In
react
?
Trait
react
::
BorrowToJsRuntime
source
·
[
−
]
pub trait BorrowToJsRuntime { fn
borrow_to_js_runtime
(&self) ->
PassToJsRuntimeValue
; }
Required methods
source
fn
borrow_to_js_runtime
(&self) ->
PassToJsRuntimeValue
Implementations on Foreign Types
source
impl<F: 'static + ?
Sized
>
BorrowToJsRuntime
for
Rc
<
Closure
<F>>
source
fn
borrow_to_js_runtime
(&self) ->
PassToJsRuntimeValue
source
impl<T0: 'static, TR: 'static>
BorrowToJsRuntime
for
Rc
<dyn
Fn
(T0) -> TR>
where
dyn
Fn
(T0) -> TR: WasmClosure,
source
fn
borrow_to_js_runtime
(&self) ->
PassToJsRuntimeValue
source
impl<T:
BorrowToJsRuntime
>
BorrowToJsRuntime
for
Box
<T>
source
fn
borrow_to_js_runtime
(&self) ->
PassToJsRuntimeValue
Implementors
source
impl<T:
ToJs
+
FromJs
>
BorrowToJsRuntime
for
MutableRefJs
<T>