Struct webui::UseStateHandle
source · [−]pub struct UseStateHandle<T> { /* private fields */ }Expand description
State handle for the use_state hook.
Implementations
sourceimpl<T> UseStateHandle<T>
impl<T> UseStateHandle<T>
sourcepub fn setter(&self) -> UseStateSetter<T>
pub fn setter(&self) -> UseStateSetter<T>
Returns the setter of current state.
Trait Implementations
sourceimpl<T> Clone for UseStateHandle<T>
impl<T> Clone for UseStateHandle<T>
sourcefn clone(&self) -> UseStateHandle<T>
fn clone(&self) -> UseStateHandle<T>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl<T> Debug for UseStateHandle<T>where
T: Debug,
impl<T> Debug for UseStateHandle<T>where
T: Debug,
sourceimpl<T> Deref for UseStateHandle<T>
impl<T> Deref for UseStateHandle<T>
sourceimpl<T> PartialEq<UseStateHandle<T>> for UseStateHandle<T>where
T: PartialEq<T>,
impl<T> PartialEq<UseStateHandle<T>> for UseStateHandle<T>where
T: PartialEq<T>,
sourcefn eq(&self, rhs: &UseStateHandle<T>) -> bool
fn eq(&self, rhs: &UseStateHandle<T>) -> bool
Auto Trait Implementations
impl<T> !RefUnwindSafe for UseStateHandle<T>
impl<T> !Send for UseStateHandle<T>
impl<T> !Sync for UseStateHandle<T>
impl<T> Unpin for UseStateHandle<T>
impl<T> !UnwindSafe for UseStateHandle<T>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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
sourceimpl<T> IntoPropValue<Option<T>> for T
impl<T> IntoPropValue<Option<T>> for T
sourcefn into_prop_value(self) -> Option<T>
fn into_prop_value(self) -> Option<T>
Convert
self to a value of a Properties struct.sourceimpl<T> IntoPropValue<T> for T
impl<T> IntoPropValue<T> for T
sourcefn into_prop_value(self) -> T
fn into_prop_value(self) -> T
Convert
self to a value of a Properties struct.