Struct dioxus::prelude::UseState [−][src]
pub struct UseState<'a, T>(_)
where
T: 'static;
Implementations
Tell the Dioxus Scheduler that we need to be processed
Get the current status of the work-in-progress data
Gain mutable access to the new value via RefMut
.
If modify
is called, then the component will re-render.
This method is only available when the value is a ToOwned
type.
Mutable access is derived by calling “ToOwned” (IE cloning) on the current value.
To get a reference to the current value, use .get()
Trait Implementations
Performs the +=
operation. Read more
DIV
Performs the /=
operation. Read more
MUL
Performs the *=
operation. Read more
Sub
Performs the -=
operation. Read more
Auto Trait Implementations
impl<'a, T> !RefUnwindSafe for UseState<'a, T>
impl<'a, T> !UnwindSafe for UseState<'a, T>
Blanket Implementations
Mutably borrows from an owned value. Read more