pub trait IntoChilds {
// Required method
fn to_childs(&self) -> impl IntoIterator<Item = Node>;
}
Expand description
Helper trait to transform an struct into an Iterator of nodes for the childs of a [Node
].
Required Methods§
Sourcefn to_childs(&self) -> impl IntoIterator<Item = Node>
fn to_childs(&self) -> impl IntoIterator<Item = Node>
Gets an iterator of Nodes.
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.