Struct dioxus_core::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 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