Struct dioxus_core::prelude::TaskId
source · pub struct TaskId(pub usize);
Expand description
A task’s unique identifier.
TaskId
is a usize
that is unique across the entire VirtualDOM and across time. TaskIDs will never be reused
once a Task has been completed.
Tuple Fields§
§0: usize
Trait Implementations§
source§impl<'de> Deserialize<'de> for TaskId
impl<'de> Deserialize<'de> for TaskId
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<TaskId> for TaskId
impl PartialEq<TaskId> for TaskId
impl Copy for TaskId
impl Eq for TaskId
impl StructuralEq for TaskId
impl StructuralPartialEq for TaskId
Auto Trait Implementations§
impl RefUnwindSafe for TaskId
impl Send for TaskId
impl Sync for TaskId
impl Unpin for TaskId
impl UnwindSafe for TaskId
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more