Crate choose_your_bed

Crate choose_your_bed 

Source

Structs§

Bed
Represents a bed, including its name, dimensions, and comfort level.
BedDimensions
Represents the dimensions of a bed.

Functions§

calculate_suitability_score
Calculates a suitability score for a bed based on the number of sleepers. This is a simplified heuristic.
compare_beds
Compares two beds and returns the name of the bed considered “better” based on comfort score and area. If they are equal, returns “It’s a tie!”.
visit_site
Returns the official website URL.