Skip to main content

IntoChildren

Trait IntoChildren 

Source
pub trait IntoChildren<M> {
    // Required method
    fn into_children(self) -> Vec<Child<M>>;
}
Expand description

Anything that can appear as a child in the ui! macro.

Required Methods§

Source

fn into_children(self) -> Vec<Child<M>>

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl<M> IntoChildren<M> for &String

Source§

impl<M> IntoChildren<M> for &str

Source§

impl<M> IntoChildren<M> for Option<Element<M>>

Source§

impl<M> IntoChildren<M> for String

Source§

impl<M> IntoChildren<M> for Vec<Element<M>>

Implementors§

Source§

impl<M> IntoChildren<M> for Child<M>

Source§

impl<M> IntoChildren<M> for Element<M>