pub trait IntoElementKey {
// Required method
fn into_element_key(self) -> String;
}Expand description
#[day_pieces::builder(FooBuilder)]: a piece’s builder trait, generated from its inherent
impl (docs/api-style.md “Typed builders and erasure”).
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.
Required Methods§
fn into_element_key(self) -> String
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".