iced::advanced::layout

Function positioned

Source
pub fn positioned(
    limits: &Limits,
    width: impl Into<Length>,
    height: impl Into<Length>,
    padding: impl Into<Padding>,
    layout: impl FnOnce(&Limits) -> Node,
    position: impl FnOnce(Node, Size) -> Node,
) -> Node
Available on crate feature advanced only.
Expand description

Computes a padded Node with a positioning step.