Skip to main content

IntoChildren

Trait IntoChildren 

Source
pub trait IntoChildren {
    // Required method
    fn extend_children(self, out: &mut Vec<Cached>);
}
Expand description

Flattens child-builder inputs into cached children.

Required Methods§

Source

fn extend_children(self, out: &mut Vec<Cached>)

Appends all represented children to out.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl IntoChildren for ()

Source§

fn extend_children(self, _out: &mut Vec<Cached>)

Source§

impl<T: IntoChildren, const N: usize> IntoChildren for SmallVec<T, N>

Source§

fn extend_children(self, out: &mut Vec<Cached>)

Source§

impl<T: IntoChildren, const N: usize> IntoChildren for [T; N]

Source§

fn extend_children(self, out: &mut Vec<Cached>)

Source§

impl<T: IntoChildren> IntoChildren for Option<T>

Source§

fn extend_children(self, out: &mut Vec<Cached>)

Source§

impl<T: IntoChildren> IntoChildren for Vec<T>

Source§

fn extend_children(self, out: &mut Vec<Cached>)

Implementors§