Skip to main content

IntoElement

Trait IntoElement 

Source
pub trait IntoElement {
    // Required method
    fn into_element(self, id: GlobalElementId) -> AnyElement;
}
Expand description

Authoring conversion boundary (ADR 0039).

Most application code does not implement this directly; component crates typically expose ergonomic constructors that return AnyElement (or helpers that build Elements).

Required Methods§

Implementations on Foreign Types§

Source§

impl IntoElement for &'static str

Source§

impl IntoElement for Arc<str>

Implementors§