taffy::style_helpers

Function percent

source
pub fn percent<Input: Into<f32> + Copy, T: FromPercent>(percent: Input) -> T
Expand description

Returns a value of the inferred type which represent a percentage