AI, Data Science & Business Certificates from Google, IBM & Microsoft
Learn Generative AI, Prompt Engineering, and LLMs for Free
Overview
Google, IBM & Meta Certificates — All 10,000+ Courses at 40% Off
One annual plan covers every course and certificate on Coursera. 40% off for a limited time.
Get Full Access
Explore nine Rust programming best practices for building libraries in this video tutorial, the first part of a three-part series. Learn about module structure for effective namespacing, scoping, and code organization in Rust. Dive into error handling practices to improve code robustness. Master the art of constructors, chainable setters, and builder patterns with real-world examples from the genai library. Follow along with code demonstrations and gain insights into structuring efficient and maintainable Rust projects.
Syllabus
- - Intro
- 00:10 - c01: Module Structure
- 06:14 - c02: Error Handling
- 11:57 - c03: a Constructors, Builders, Setters
- 22:45 - c03: b Constructors/builders Code example
Taught by
Jeremy Chone