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

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

The resulting type after applying the + operator.

Performs the + operation. Read more

Performs the += operation. Read more

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

The resulting type after dereferencing.

Dereferences the value.

Formats the value using the given formatter. Read more

DIV

The resulting type after applying the / operator.

Performs the / operation. Read more

Performs the /= operation. Read more

MUL

The resulting type after applying the * operator.

Performs the * operation. Read more

Performs the *= operation. Read more

The resulting type after applying the ! operator.

Performs the unary ! operation. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Sub

The resulting type after applying the - operator.

Performs the - operation. Read more

Performs the -= operation. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.