resolve_constraints

Function resolve_constraints 

Source
pub fn resolve_constraints(
    constraints: &[Constraint],
    available: u16,
) -> Result<Vec<u16>, LayoutError>
Expand description

Resolves a list of Constraints for a single dimension (either width or height).