#bounds

2 articles about bounds

rustAugust 15, 2025

?Sized: writing one function for both sized and unsized types

Understanding the role of ?Sized bounds in Rust trait definitions and leveraging them to create flexible functions that work with both sized and unsized types efficiently

rustAugust 14, 2025

Supertraits: enforcing a hierarchy of behaviours

Leveraging supertraits to establish behavior hierarchies and combining them with where clauses to optimize complex generic algorithms for performance and type safety