iced::advanced::layout

Function atomic

Source
pub fn atomic(
    limits: &Limits,
    width: impl Into<Length>,
    height: impl Into<Length>,
) -> Node
Available on crate feature advanced only.
Expand description

Computes the resulting Node that fits the Limits given some width and height requirements and no intrinsic size.