pub fn validate_layer_lengths<Id, I>(
layers: &[PropertyLayer<Id, I>],
id_family: IdFamily,
required: usize,
) -> Result<(), LayerLengthError>where
I: PropertyIndex,Expand description
Validates that every layer holds at least required rows for id_family.
§Errors
Returns LayerLengthError naming the first layer shorter than
required.
§Performance
This function is O(layers.len()).