Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
Ways to Make Sure that a Type in Rust Satisfy Certain Conditions
-
type bounds using the
where
clause -
disable users from constructing instances of a struct and provide initialized instances (with …