iced::advanced::overlay

Function from_children

Source
pub fn from_children<'a, Message, Theme, Renderer>(
    children: &'a mut [Element<'_, Message, Theme, Renderer>],
    tree: &'a mut Tree,
    layout: Layout<'_>,
    renderer: &Renderer,
    translation: Vector,
) -> Option<Element<'a, Message, Theme, Renderer>>
where Renderer: Renderer,
Available on crate feature advanced only.
Expand description

Returns a Group of overlay Element children.

This method will generally only be used by advanced users that are implementing the Widget trait.