Skip to main content

Module element_id

Module element_id 

Source
Expand description

Declared element identities. id! is the only declaration surface; the catalog is collected at link time, including declarations in helpers which have never mounted.

Structs§

ElementId
An application-owned element identity, declared with crate::id!.
RegisteredId
Target-specific, normalized declaration. Provenance is omitted in release builds.

Traits§

IntoElementKey
Explicit, stable canonical text for an instance key. No blanket Display conversion. Integer 42 and text “42” intentionally denote the same key. Composite keys must define an unambiguous app-owned encoding before the framework percent-escapes it.

Functions§

family_of
The exact family portion of a canonical locator; used only for mounted diagnostics.
registry
Return the linked app’s vocabulary, independent of visited pages. Reject conflicting shapes and owners; repeated declarations within one package are permitted.