Docs.rs
react-rs-1.0.0-alpha.8
react-rs 1.0.0-alpha.8
Permalink
Docs.rs crate page
MIT
Links
crates.io
Source
Owners
EqualMa
Dependencies
convert-js ^1.0.0-alpha.14
normal
forgotten ^1.1
normal
frender-macros ^1.0.0-alpha.8
normal
js-sys ^0.3
normal
react-sys ^1.0.0-alpha.23
normal
wasm-bindgen ^0.2.63
normal
web-sys ^0.3.56
normal
wasm-bindgen-test ^0.3
dev
Versions
16.06%
of the crate is documented
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
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Write
Ref
react
1.0.0-alpha.8
Write
Ref
Required Methods
set_current
Implementations on Foreign Types
Rc<F>
Implementors
In crate react
Modules
__private
any_js_props
event
Macros
__impl_let_dep_list
__impl_let_dep_list_memo
__impl_pass_dep
auto_wrap_rc
children
use_effect
use_memo
use_ref
use_state
Structs
AnyFn
AnyFnMut
AnyFnOnce
AnyNodeValue
Element
Fragment
FragmentElement
JsBridgeElement
Key
Keyed
MutableRefJs
MutableRefRc
NoProps
OptionalChildrenProps
PassedToJsRuntime
ReadRefRc
StateSetter
StrictMode
StrictModeElement
UseRenderElement
Enums
AnyNode
Children
JsComponentType
Traits
AsKey
Component
ComponentStatic
DynFn
DynFnMut
DynFnOnce
FnMutOfArgs
FnOfArgs
FnOnceOfArgs
IntoBoxed
IntoElement
IntoOptionalCleanFn
IntoOptionalElement
IntoOptionalRc
IntoPropValue
IntoRc
IntoRefValue
MutableRef
Node
Props
PropsBuilder
ReadRef
RenderIntoDom
SafeIntoJsRuntime
TakeRc
UseRender
UseRenderStatic
WriteRef
Functions
render_into_dom_by_id
use_effect_on_each_render
use_effect_on_mounted
use_effect_one
use_memo_no_dep
use_memo_one
use_ref
use_ref_cell
use_ref_cell_with
use_ref_js
use_ref_js_set_as
use_ref_js_with
use_ref_readonly
use_ref_readonly_with
use_ref_set_as
use_ref_with
use_state
use_state_value
Type Aliases
DynUseRenderFn
FragmentProps
StrictModeProps
react
Trait
WriteRef
Copy item path
Settings
Help
Summary
Source
pub trait WriteRef<T> { // Required method fn
set_current
(&self, v: T); }
Required Methods
§
Source
fn
set_current
(&self, v: T)
Implementations on Foreign Types
§
Source
§
impl<T, F: ?
Sized
+
Fn
(T)>
WriteRef
<T> for
Rc
<F>
Source
§
fn
set_current
(&self, v: T)
Implementors
§
Source
§
impl<T, F: ?
Sized
+
Fn
(T)>
WriteRef
<T> for F
Source
§
impl<T:
IntoRefValue
<W>, W:
ToJs
+
FromJs
>
WriteRef
<T> for
MutableRefJs
<W>
Source
§
impl<T: ?
Sized
, S:
IntoRefValue
<
Rc
<T>>>
WriteRef
<S> for
MutableRefRc
<T>