iced_core::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
Expand description

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