Skip to content
프로젝트

lpxxn/rust-design-pattern

GitHub에서 보기

소개

Rust 디자인 패턴

학습 및 교육

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
-1
in 1 month
0

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

Rust Design Patterns

Creational Patterns

Pattern Description Status
Factory Method Defers instantiation of an object to a specialized function for creating instances ✔
Abstract Factory Provides an interface for creating families of releated objects ✔
Builder Builds a complex object using simple objects ✔
Singleton Restricts instantiation of a type to one object ✔

Behavioral Patterns

Pattern Description Status
Strategy Enables an algorithm's behavior to be selected at runtime ✔
State Encapsulates varying behavior for the same object based on its internal state ✔
Command Converts requests or simple operations into objects. ✔
Iterator Lets you traverse elements of a collection without exposing its underlying representation ✔
Observer Allows one objects to notify other objects about changes in their state. ✔
Chain of Responsibility Avoids coupling a sender to receiver by giving more than object a chance to handle the request ✔

Structural Patterns

Pattern Description Status
Adapter allows objects with incompatible interfaces to collaborate. ✔
Decorator Adds behavior to an object, statically or dynamically ✔
Proxy Provides a surrogate for an object to control it's actions ✔

관련 프로젝트 살펴보기

불러오는 중…