Trait ChildElement

Source
pub trait ChildElement<D: Dom = DefaultDom>:
    Into<GenericElement<D, Const>>
    + Into<Node<D>>
    + Value
    + 'static { }
Expand description

Trait alias for elements that can be used as a child

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<D, T> ChildElement<D> for T
where D: Dom, T: Into<GenericElement<D, Const>> + Into<Node<D>> + Value + 'static,