pub fn child(ratio: f32) -> RuleExpand 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.
pub fn child(ratio: f32) -> RuleReturns Rule::Children as ratio of its children size.
If ratio is smaller than 1. It would mean the container couldn’t fit its
children.