Skip to main content

child

Function child 

Source
pub fn child(ratio: f32) -> Rule
Expand description

Returns Rule::Children as ratio of its children size.

§Panics

If ratio is smaller than 1. It would mean the container couldn’t fit its children.