Struct wasm_react::hooks::State
source · [−]pub struct State<T> { /* private fields */ }
Expand description
Allows access to the underlying state data persisted with use_state()
.
Implementations
Trait Implementations
sourceimpl<T> From<State<T>> for ValueContainer<T>
impl<T> From<State<T>> for ValueContainer<T>
impl<T: 'static> Persisted for State<T>
Auto Trait Implementations
impl<T> !RefUnwindSafe for State<T>
impl<T> !Send for State<T>
impl<T> !Sync for State<T>
impl<T> Unpin for State<T>
impl<T> !UnwindSafe for State<T>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more