iced::advanced::layout

Function next_to_each_other

Source
pub fn next_to_each_other(
    limits: &Limits,
    spacing: f32,
    left: impl FnOnce(&Limits) -> Node,
    right: impl FnOnce(&Limits) -> Node,
) -> Node
Available on crate feature advanced only.
Expand description

Produces a Node with two children nodes one right next to each other.