Struct dioxus_core::ElementId [−][src]
pub struct ElementId(pub usize);
Expand description
An Element’s unique identifier.
ElementId
is a usize
that is unique across the entire VirtualDOM - but not unique across time. If a component is
unmounted, then the ElementId
will be reused for a new component.
Tuple Fields
0: usize
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ElementId
impl UnwindSafe for ElementId
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.