Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

CodeSignal

Creational Patterns in Rust

via CodeSignal

Overview

Creational design patterns in Rust help control how objects are created, emphasizing flexibility and reuse. By leveraging Rust's ownership model, traits, and generics, we can implement these patterns in an idiomatic way, leading to robust and maintainable code.

Syllabus

  • Unit 1: Singleton Patterns in Rust: A Beginner’s Guide
    • Enhancing Logger with Message Count
    • Enhancing Logger with Severity Levels
    • Implementing a Singleton Music Player in Rust
    • Implementing a Singleton ConfigManager in Rust
    • Implementing a Singleton Logger in Rust
  • Unit 2: Factory Method Pattern in Rust: A Guide to Flexible Object Creation
    • Adding a PdfDocument to the Factory Method Pattern
    • Creating a Musical Instrument System Using the Factory Method Pattern in Rust
    • Implementing the Factory Method Pattern with Vehicles in Rust
    • Implementing a Notification System using the Factory Method Pattern in Rust
  • Unit 3: Implementing the Abstract Factory Pattern in Rust
    • Extending the Abstract Factory Pattern with Linux Support
    • Gaming Accessory Abstract Factory in Rust
    • Implementing an Abstract Factory Pattern for Mobile UI Components in Rust
    • Abstract Factory Pattern for Space Mission Setup in Rust
    • Implementing a Drawing Application with the Abstract Factory Pattern in Rust
  • Unit 4: Builder Pattern in Rust: Building Complex Objects with Ease
    • Modifying the House Builder from Concrete to Brick in Rust
    • Building a Wooden House Using the Builder Pattern in Rust
    • Building Robots with the Builder Pattern in Rust
    • Implementing the Builder Pattern for a House in Rust
  • Unit 5: Applying Creational Patterns in Rust for a Banking System
    • Building an Account Management System Using Abstract Factory and Singleton Patterns in Rust
    • Applying Creational Design Patterns in a Rust-based Banking Application
    • Building a Customer Database with the Builder Pattern in Rust

Reviews

Start your review of Creational Patterns in Rust

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.