Function taffy::style_helpers::flex

source ·
pub fn flex<Input, Output>(flex_fraction: Input) -> Outputwhere
    Input: Into<f32> + Copy,
    Output: From<MinMax<MinTrackSizingFunction, MaxTrackSizingFunction>>,
Expand description

Shorthand for minmax(0, Nfr). Probably what you want if you want exactly evenly sized tracks.