Skip to main content

IntoElementKey

Trait IntoElementKey 

Source
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§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl IntoElementKey for &String

Source§

impl IntoElementKey for &str

Source§

impl IntoElementKey for String

Source§

impl IntoElementKey for i8

Source§

impl IntoElementKey for i16

Source§

impl IntoElementKey for i32

Source§

impl IntoElementKey for i64

Source§

impl IntoElementKey for i128

Source§

impl IntoElementKey for isize

Source§

impl IntoElementKey for u8

Source§

impl IntoElementKey for u16

Source§

impl IntoElementKey for u32

Source§

impl IntoElementKey for u64

Source§

impl IntoElementKey for u128

Source§

impl IntoElementKey for usize

Implementors§

Day API ↩ Guides· daybrite.dev