IntoBoxedElement

Trait IntoBoxedElement 

Source
pub trait IntoBoxedElement {
    // Required method
    fn into_boxed_element(self) -> Box<dyn Element>;
}
Expand description

Helper trait for creating boxed elements.

Required Methods§

Source

fn into_boxed_element(self) -> Box<dyn Element>

Creates a boxed element from this element.

Implementations on Foreign Types§

Source§

impl IntoBoxedElement for Box<dyn Element>

Implementors§

Source§

impl<E: Element + 'static> IntoBoxedElement for E